I tried to register DLL in the GAC, by adding Assembly=".net" to my <File> element, as below:
<File KeyPath="yes" Id="InstallDlfetcher" Name="DLFetcher.dll" DiskId="1" Source="D:\DLFetcher_July10\DLFetcher.dll" Assembly=".net"> </File> But I am getting an error when I try to run my installer as follows: An error occurred during the installation of assembly 'DLFetcher,version="1.1.0.0", culture="neutral",publickeyToken="402B9D8975482830'". Please refer to Help and support for more information. HRESULT:0x80131043. Please can you further help me out in solving this issue. Regards Poornima.S Aztecsoft Limited -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, August 04, 2008 8:32 PM To: wix-users@lists.sourceforge.net Subject: WiX-users Digest, Vol 27, Issue 8 Send WiX-users mailing list submissions to wix-users@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/wix-users or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of WiX-users digest..." Today's Topics: 1. FW: Re: ServiceInstall account problem (Daniel Rieck) 2. updating with a different account? (Mattias ?slund) 3. Call a .NET dll file in wix using custom action (Poornima S) 4. Re: updating with a different account? (Eitan Behar) 5. Re: Call a .NET dll file in wix using custom action (Neil Enns) 6. Sending params to Deferred Custom Action (Benas) 7. Re: Sending params to Deferred Custom Action (Buddell, James) ---------------------------------------------------------------------- Message: 1 Date: Mon, 04 Aug 2008 13:07:39 +0200 From: Daniel Rieck <[EMAIL PROTECTED]> Subject: [WiX-users] FW: Re: ServiceInstall account problem To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-15 That put me in the right direction. Thanks to everyone! *Von:* "Daniel Rieck" <[EMAIL PROTECTED]> *Gesendet:* 01.08.08 22:35:39 *An:* "General discussion for Windows Installer XML toolset." <WIX-USERS@LISTS.SOURCEFORGE.NET> *Betreff:* Re: [WiX-users] ServiceInstall account problem I'm already home for the weekend, but I'll check that on Monday, because I changed all the names in the file before sending it... *Von:* "Wilson, Phil" <[EMAIL PROTECTED]> *Gesendet:* 01.08.08 20:40:07 *An:* General discussion for Windows Installer XML toolset. *Betreff:* Re: [WiX-users] ServiceInstall account problem Isn't the Name required to be the same in ServiceInstall and ServiceControl? (As in the example at http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-usi ng.html where they are both WixServiceInstaller). Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Rieck Sent: Friday, August 01, 2008 12:40 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] ServiceInstall account problem Here's my entire WiX file: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi [http://schemas.microsoft.com/wix/2006/wi]"> <Product Id="5028B1BB-BCDE-470b-8A0D-25E49DE32661" Name="MyService" Language="1031" Version="1.0.0.0" Manufacturer="Me" UpgradeCode="7EAE2B64-7637-4c89-BF85-D288CE0E5E6F"> <Package InstallerVersion="200" Compressed="yes" /> <Condition Message="This application requires Windows XP SP2 or above."> <![CDATA[Installed OR (VersionNT=501 AND ServicePackLevel>=2) OR (VersionNT>501)]]> </Condition> <Media Id="1" Cabinet="MyService.cab" EmbedCab="yes" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLLOCATION" Name="MyService"> <Component Id="InstallService" Guid="0A86B4CB-3494-4a12-B88B-66C75B23BCFE" Permanent="no" SharedDllRefCount="no"> <File Id="WindowsService" Name="MyService.exe" Source="D:...in?ReleaseMyService.exe" KeyPath="yes" Checksum="yes" /> <ServiceInstall Id="MyServiceId" Name="MyService" DisplayName="MyService" Type="ownProcess" Start="auto" ErrorControl="normal" Description="" Interactive="no" Vital="yes" Account="[SERVICEACCOUNT]" Password="[SERVICEPASSWORD]" /> <ServiceControl Id="StartService" Name="MyServiceId" Start="install" Stop="uninstall" Remove="uninstall" /> </Component> </Directory> </Directory> </Directory> <Feature Id="ProductFeature" Title="MyService" Level="1"> <ComponentRef Id="InstallService" /> </Feature> </Product> </Wix> I found this snippet at http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-usi ng.html [http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-us ing.html] I tried removing the Account and Password properties altogether, so it would default to LocalSystem, but that didn't help either. *Von:* "Bob Arnson" <[EMAIL PROTECTED]> *Gesendet:* 31.07.08 23:47:23 *An:* "General discussion for Windows Installer XML toolset." <WIX-USERS@LISTS.SOURCEFORGE.NET> *Betreff:* Re: [WiX-users] ServiceInstall account problem Daniel Rieck wrote: > 1) I'm getting error 1923. > 1923 almost always indicates a problem with the attributes on the ServiceInstall element, such as a bad user/password combination. Can you show what yours looks like? -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------ Message: 2 Date: Sun, 3 Aug 2008 14:29:26 +0200 From: Mattias ?slund <[EMAIL PROTECTED]> Subject: [WiX-users] updating with a different account? To: <wix-users@lists.sourceforge.net> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" This is not a WiX-specific question I guess, but rather a windows installer problem, but you guys seem to have a lot of answers? I have two msi-packages for different versions of the same application (created by wix 3). Version two successfully upgrades version one, if run manually from the same user account with ?msiexec /i package2.msi /quiet REINSTALL=ALL REINSTALLMODE=vomus?. However, I?m trying to implement an auto-upgrade system by letting a service (run as LocalSystem) download the msi from a website and run the above command. When I do this, all features are marked as not installed and the installer doesn?t change the system. Not even the ARP-entry changes version. I have set MigrateFeatures="yes" in <UpgradeVersion/>, but this only fixes things for the same user account. So, where am I shooting myself in the foot? ;) Yours, Mattias ?slund [EMAIL PROTECTED] ------------------------------ Message: 3 Date: Mon, 4 Aug 2008 18:08:34 +0530 From: "Poornima S" <[EMAIL PROTECTED]> Subject: [WiX-users] Call a .NET dll file in wix using custom action To: <wix-users@lists.sourceforge.net> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Hi All, I have a DLfetcher.dll file which is in .NET. I need to create a WIX installer for my application, and when I run that msi the dll file should get registered in GAC. I modified my WXS file to use custom action behaviour of WIX. Code is as below: <Binary Id="InstallDlfetcher" SourceFile="D:\DLFetcher_July10\DLFetcher.dll"/> <CustomAction Id="LaunchDlfetcher" BinaryKey="InstallDlfetcher" DllEntry="InstallDlfetcher" Execute="deferred"/> <InstallExecuteSequence> <Custom Action="LaunchDlfetcher" Before="InstallFinalize"/> <InstallExecuteSequence> But when I run installer, I couldn't find in gac folder the registry entry creating a DlFetcher folder. Please help me to get out of here. Is there any way to call a dll file from wix and while I try to run my installer that should get registered in GAC.....? Thanks everyone in advance... Regards Poornima.S This email message and its attachments may contain CONFIDENTIAL AND PRIVILEGED INFORMATION intended for the sole use of the addressee(s). If you have received it in error, please contact the sender by return email, notify your system manager and destroy the original message and any copies thereof. Any review, use, disclosure or distribution is unlawful. Please check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The Company reserves the right to monitor, review and store the content of all messages sent to or from this e-mail address. www.aztecsoft.com ------------------------------ Message: 4 Date: Mon, 4 Aug 2008 15:41:47 +0300 From: "Eitan Behar" <[EMAIL PROTECTED]> Subject: Re: [WiX-users] updating with a different account? To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=WINDOWS-1252 Hi, Are you using the property ALLUSERS=1 ? This property will let you do a system-level install instead of per-user. Rgrds, Eitan On Sun, Aug 3, 2008 at 3:29 PM, Mattias ?slund <[EMAIL PROTECTED]> wrote: > This is not a WiX-specific question I guess, but rather a windows installer > problem, but you guys seem to have a lot of answers? > > > > I have two msi-packages for different versions of the same application > (created by wix 3). Version two successfully upgrades version one, if run > manually from the same user account with "msiexec /i package2.msi /quiet > REINSTALL=ALL REINSTALLMODE=vomus". > > > > However, I'm trying to implement an auto-upgrade system by letting a > service > (run as LocalSystem) download the msi from a website and run the above > command. When I do this, all features are marked as not installed and the > installer doesn't change the system. Not even the ARP-entry changes > version. > > > > I have set MigrateFeatures="yes" in <UpgradeVersion/>, but this only fixes > things for the same user account. > > > > So, where am I shooting myself in the foot? ;) > > > > Yours, > > Mattias ?slund > > [EMAIL PROTECTED] > > ------------------------------------------------------------------------ - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------ Message: 5 Date: Mon, 4 Aug 2008 07:18:21 -0700 From: Neil Enns <[EMAIL PROTECTED]> Subject: Re: [WiX-users] Call a .NET dll file in wix using custom action To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" If all you are trying to do is register your DLL in the GAC, add Assembly=".net" to your <File> element and it'll automatically get installed to the GAC. Neil ________________________________ From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Poornima S [EMAIL PROTECTED] Sent: Monday, August 04, 2008 5:38 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Call a .NET dll file in wix using custom action Hi All, I have a DLfetcher.dll file which is in .NET. I need to create a WIX installer for my application, and when I run that msi the dll file should get registered in GAC. I modified my WXS file to use custom action behaviour of WIX. Code is as below: <Binary Id="InstallDlfetcher" SourceFile="D:\DLFetcher_July10\DLFetcher.dll"/> <CustomAction Id="LaunchDlfetcher" BinaryKey="InstallDlfetcher" DllEntry="InstallDlfetcher" Execute="deferred"/> <InstallExecuteSequence> <Custom Action="LaunchDlfetcher" Before="InstallFinalize"/> <InstallExecuteSequence> But when I run installer, I couldn't find in gac folder the registry entry creating a DlFetcher folder. Please help me to get out of here. Is there any way to call a dll file from wix and while I try to run my installer that should get registered in GAC.....? Thanks everyone in advance... Regards Poornima.S This email message and its attachments may contain CONFIDENTIAL AND PRIVILEGED INFORMATION intended for the sole use of the addressee(s). If you have received it in error, please contact the sender by return email, notify your system manager and destroy the original message and any copies thereof. Any review, use, disclosure or distribution is unlawful. Please check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The Company reserves the right to monitor, review and store the content of all messages sent to or from this e-mail address. www.aztecsoft.com<http://www.aztecsoft.com/> ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------ Message: 6 Date: Mon, 4 Aug 2008 17:56:56 +0300 From: Benas <[EMAIL PROTECTED]> Subject: [WiX-users] Sending params to Deferred Custom Action To: wix-users@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=UTF-8 Hello, I'm wondering how to pass params to deferred Custom Actions? My WIX Property doesn't exist anymore at the time deferred custom action is ran. Tx for suggestions, Benas ------------------------------ Message: 7 Date: Mon, 4 Aug 2008 16:01:24 +0100 From: "Buddell, James" <[EMAIL PROTECTED]> Subject: Re: [WiX-users] Sending params to Deferred Custom Action To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" You have to use the CustomActionData Property, see http://msdn.microsoft.com/en-us/library/2w2fhwzz(VS.80).aspx. Have a search online for the property name to find more detail and examples. Cheers, James -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benas Sent: 04 August 2008 15:57 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Sending params to Deferred Custom Action Hello, I'm wondering how to pass params to deferred Custom Actions? My WIX Property doesn't exist anymore at the time deferred custom action is ran. Tx for suggestions, Benas ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This e-mail is confidential and the information contained in it may be privileged. It should not be read, copied or used by anyone other than the intended recipient. If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person. We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking. Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy. Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and their affiliated or associated companies. Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and by the Financial Services Authority ('FSA') and regulated by the FSA for the conduct of designated business in the UK. Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA. Dresdner Kleinwort Securities Limited is a company incorporated in England (registered no. 1767419, registered office 30 Gresham Street, London EC2V 7PG), and is authorised an d regulated by the FSA. ------------------------------ ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users End of WiX-users Digest, Vol 27, Issue 8 **************************************** This email message and its attachments may contain CONFIDENTIAL AND PRIVILEGED INFORMATION intended for the sole use of the addressee(s). If you have received it in error, please contact the sender by return email, notify your system manager and destroy the original message and any copies thereof. Any review, use, disclosure or distribution is unlawful. Please check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The Company reserves the right to monitor, review and store the content of all messages sent to or from this e-mail address. www.aztecsoft.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users