Was reading the MSI SDK out of the question? Logan, I'm not trying to single you out but there have been a lot of questions lately that could be answered or asked better if the people asking the questions took the time to read the MSI SDK. I don't know about others here but it feels a little disrespectful to me to ask questions that take up our time without spending some of your time up front to learn the technology.
The Windows Installer is a very deep and intricate technology. It should be easier and there are probably still many things we can do to improve WiX to make learning the Windows Installer easier but we aren't going to get there by answering questions that are already answered in the existing documentation. That said, if you learn something and have a suggestion how we can improve the WiX toolset to help the next person learn faster, I would be very interested in hearing those suggestions. Thanks. -----Original Message----- From: chaiguy1337 [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 16:04 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions) *facepalm* Thanks :S That seems to have done it. I probably never would have figured that out. Brian Rogers-3 wrote: > > Ah, I think you revealed the problem: > > http://msdn.microsoft.com/en-us/library/aa370859(VS.85).aspx > > "Note that Windows Installer uses only the first three fields of the > product version. If you include a fourth field in your product version, > the installer ignores the fourth field." > > ###################################### > $_='^#(/||/@[EMAIL PROTECTED]@:^[-['^";@@@\\>])@.". > "{)/];)^{";$,+=(++$,);$_.=">&$,";`$_`; > > > -----Original Message----- > From: chaiguy1337 [mailto:[EMAIL PROTECTED] > Sent: Friday, October 24, 2008 3:38 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Run CA on uninstall, but not when updating > (RemovePreviousVersions) > > > Neither of the versions have ALLUSERS set at all, because I want them to > be > per-user. As I explained I worded that poorly. The installer with > ALLUSERS=2 > was for another product altogether, unrelated to this one. > > Here's what I'm doing: > > 1. Build and install program with version 1.0.0.0 and ProductCode 'a'. > 2. Change version to 1.0.0.1 and ProductCode to 'b', and install again. > > At this point there are two entries in Add/Remove Programs, one for > 1.0.0.0 > and one for 1.0.0.1, despite all my efforts to make the latter remove the > former. Bear in mind these installers are IDENTICAL except for those two > tiny changes. > > Logan > > > Ian Elliott (Excell Data Corporation) wrote: >> >> It sounds like the two msi's don't have ALLUSERS set to the same value. I >> don't believe you can perform a major upgrade on msi's that don't match. >> They both have to be per-user or per-machine. You can't mix and match as >> far as major upgrades go. >> >> -----Original Message----- >> From: chaiguy1337 [mailto:[EMAIL PROTECTED] >> Sent: Friday, October 24, 2008 2:23 PM >> To: wix-users@lists.sourceforge.net >> Subject: Re: [WiX-users] Run CA on uninstall, but not when updating >> (RemovePreviousVersions) >> >> >> I logged the install and found this, but I can't make any sense of it: >> >> Action ended 17:16:57: InstallFinalize. Return value 1. >> MSI (s) (B8:58) [17:16:57:583]: Doing action: RemoveExistingProducts >> MSI (s) (B8:58) [17:16:57:583]: Note: 1: 2205 2: 3: ActionText >> Action 17:16:57: RemoveExistingProducts. Removing applications >> Action start 17:16:57: RemoveExistingProducts. >> MSI (s) (B8:58) [17:16:57:598]: Note: 1: 2205 2: 3: Error >> MSI (s) (B8:58) [17:16:57:598]: Note: 1: 2228 2: 3: Error 4: SELECT >> `Message` FROM `Error` WHERE `Error` = 22 >> MSI (s) (B8:58) [17:16:57:600]: Note: 1: 2205 2: 3: Error >> MSI (s) (B8:58) [17:16:57:600]: Note: 1: 2228 2: 3: Error 4: SELECT >> `Message` FROM `Error` WHERE `Error` = 23 >> MSI (s) (B8:58) [17:16:57:613]: Note: 1: 2205 2: 3: Error >> MSI (s) (B8:58) [17:16:57:613]: Note: 1: 2228 2: 3: Error 4: SELECT >> `Message` FROM `Error` WHERE `Error` = 16 >> MSI (s) (B8:58) [17:16:57:617]: Note: 1: 2205 2: 3: Error >> MSI (s) (B8:58) [17:16:57:617]: Note: 1: 2228 2: 3: Error 4: SELECT >> `Message` FROM `Error` WHERE `Error` = 21 >> Action ended 17:16:57: RemoveExistingProducts. Return value 1. >> >> My WiX msi has no ALLUSERS property at all, wheras my original product >> had >> ALLUSERS=2. However, I want my new product to be per-user. >> >> Logan >> >> >> cemiles wrote: >>> >>> Toss up a log if you can. >>> >>> I'd say check your ALLUSERS property between the 2 msis (see if >>> they're different). >> >> >> ----- >> A. Logan Murray >> http://pihole.org/ >> -- >> View this message in context: >> http://n2.nabble.com/Run-CA-on-uninstall%2C-but-not-when-updating-%28RemovePreviousVersions%29-tp1372539p1373540.html >> Sent from the wix-users mailing list archive at Nabble.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 >> >> > > > ----- > A. Logan Murray > http://pihole.org/ > -- > View this message in context: > http://n2.nabble.com/Run-CA-on-uninstall%2C-but-not-when-updating-%28RemovePreviousVersions%29-tp1372539p1373774.html > Sent from the wix-users mailing list archive at Nabble.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 > > ----- A. Logan Murray http://pihole.org/ -- View this message in context: http://n2.nabble.com/Run-CA-on-uninstall%2C-but-not-when-updating-%28RemovePreviousVersions%29-tp1372539p1373884.html Sent from the wix-users mailing list archive at Nabble.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