Re: [WiX-users] Two Entries in Add or Remove Programs
I've encountered a double ARP entry with one of my installers a couple of months ago. As far as I remember only private build part of product version was changed what made the new installer act like a small update instead of a major upgrade (MSI only uses the first three parts of the version number). Changing third part instead of fourth fixed it at that time. Regards, Mike -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two Entries in Add or Remove Programs
Success! Alex Shevchuk wrote: OK, here is the problem. Upgrade/@Id must have the same value as Product/@UpgradeCode. Thank you, Alex. That was the problem. FindRelatedProducts is working and only one entry exists in the Add or Remove Programs table after the installation of the new version. Now, along with Do not change the Product UpgradeCode, I have Verify that the Product UpgradeCode is identical to the Upgrade ID in my upgrade checklist. My gratitude goes also to Phil, Stephen and Michael. In this exchange I have uncovered other problems in my installer. -- Charles -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two Entries in Add or Remove Programs
Chuck schrieb: Success! Alex Shevchuk wrote: OK, here is the problem. Upgrade/@Id must have the same value as Product/@UpgradeCode. Thank you, Alex. That was the problem. FindRelatedProducts is working and only one entry exists in the Add or Remove Programs table after the installation of the new version. Now, along with Do not change the Product UpgradeCode, I have Verify that the Product UpgradeCode is identical to the Upgrade ID in my upgrade checklist. I guess that this is a common newbie error, I'm new to Wix too and I made the same mistake a few days ago. I costed me about an hour to figure it out and my template for new scripts now includes defines for the UpgradeCode and some other values: !-- The upgrade code (must be the same for Product UpgradeCode / and Upgrade Id / The upgrade code must not be changed during the life cycle of the product! Otherwise the Installer will add an additional entry into Add/Remove Software -- ?define UpgradeCode=YOUR-GUID-HERE? ... and Product Id=$(var.ProductCode) Name=$(var.ProductName) Language=$(var.ProductLanguage) Version=$(var.ProductVersion) Manufacturer=$(var.Manufacturer) UpgradeCode=$(var.UpgradeCode) ... Upgrade Id=$(var.UpgradeCode) ... That way I hopefully don't make the same mistake twice (building an installer is not really my every day business) BTW: Is there anything like a tutorial about building Managed Custom Actions with the DTF? Or some real life examples? Regards, Ingo -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two Entries in Add or Remove Programs
Get an MSI log to see what's going on. Look at all instances of FindRelatedProducts to see if it's detecting your older product. Why is REP after InstallFinalize? This is outside the audited actions, and one of the consequences is that if the uninstall of the older product fails it will attempt to roll back and reinstall, leaving you with two entries in ARP. Phil Wilson -Original Message- From: Chuck [mailto:electroch...@att.net] Sent: Tuesday, May 12, 2009 7:25 PM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Two Entries in Add or Remove Programs I have been testing the major upgrade procedure under WiX Version 3.0.5217.0 and Windows XP. I install version 1.0 of my application successfully. (It has the required Upgrade element.) To prepare for the next version of my application I increment the FILEVERSION, PRODUCTVERSION and FileVersion values in resource file from 1.0 to 1.1 and rebuild the executable. (WiX Edit reads the File Version--see below.) I go back to Wix Edit and change both the Product GUID and the Package GUID. The Upgrade ID GUID does not change. I rebuild the MSI setup package. Then I use this new package to install version 1.1 of my application. Version 1.1 of the program installs successfully but I am left with two entries in Control Panel Add or Remove Programs. One points to version 1.0; the other points to version 1.1. Upgrade Id=49AB249B-C143-412E-B138-6689533DC53A UpgradeVersion Property=OLDERVERSIONBEINGUPGRADED Maximum=!(bind.FileVersion.gssta_exe) IncludeMinimum=yes OnlyDetect=no IncludeMaximum=no Minimum=0.0.0.0 / UpgradeVersion Property=NEWERVERSIONDETECTED Minimum=!(bind.FileVersion.gssta_exe) OnlyDetect=yes IncludeMinimum=yes / /Upgrade InstallExecuteSequence RemoveExistingProducts After=InstallFinalize / /InstallExecuteSequence In the Add or Remove Programs table, if I select Remove for version 1.0 (after version 1.1 is installed) the application is not removed. (The table entry does go away.) If I select Remove for version 1.1, the application is removed. What can I do to ensure that only the latest version is shown in the Add or Remove Programs table? -- Charles -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two Entries in Add or Remove Programs
Wilson, Phil wrote: Get an MSI log to see what's going on. Look at all instances of FindRelatedProducts to see if it's detecting your older product. There are two sections of FindRelatedProducts in the log for the 1.1 version upgrade installation. MSI (c) (28:8C) [18:56:27:953]: Doing action: FindRelatedProducts MSI (c) (28:8C) [18:56:27:968]: Note: 1: 2205 2: 3: ActionText Action 18:56:27: FindRelatedProducts. Searching for related applications Action start 18:56:27: FindRelatedProducts. Action ended 18:56:27: FindRelatedProducts. Return value 1. and MSI (s) (C8:34) [18:56:32:968]: Doing action: FindRelatedProducts MSI (s) (C8:34) [18:56:32:984]: Note: 1: 2205 2: 3: ActionText Action 18:56:32: FindRelatedProducts. Searching for related applications Action start 18:56:32: FindRelatedProducts. MSI (s) (C8:34) [18:56:32:984]: Skipping FindRelatedProducts action: already done on client side Action ended 18:56:32: FindRelatedProducts. Return value 0. Does that look right? Why is REP after InstallFinalize? I was following the recommendation in the fourth bullet point of the Sequence Restrictions section of http://msdn.microsoft.com/en-us/library/aa371197(VS.85).aspx. I've tried the other possibilities too. I still end up with two entries in the Add or Remove Programs table. -- Charles -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two Entries in Add or Remove Programs
That means it didn't find the previous version for some reason otherwise it would mention the ProductCode guid of the discovered product. What's actually in the Upgrade table in the MSI file? I'm wondering if the version range is really correct. That location for REP is more efficient because the file replacement rules are such that you have many files that aren't going to be updated. If a lot are going to be updated anyway the efficiency decreases. However it's not a safe location because of the rollback issue. There is a similar efficient location (assuming efficiency is valued more than safety ;=) ) which is directly before InstallFinalize using [InstallExecute, RemovePreviousVersions, InstallFinalize ], which is what the 3rd bullet is saying - the rollback of the new install means the new product won't be installed, and the older product uninstall is rolled back leaving it installed, so you're back where you started. Phil Wilson -Original Message- From: Chuck [mailto:electroch...@att.net] Sent: Wednesday, May 13, 2009 12:37 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Two Entries in Add or Remove Programs Wilson, Phil wrote: Get an MSI log to see what's going on. Look at all instances of FindRelatedProducts to see if it's detecting your older product. There are two sections of FindRelatedProducts in the log for the 1.1 version upgrade installation. MSI (c) (28:8C) [18:56:27:953]: Doing action: FindRelatedProducts MSI (c) (28:8C) [18:56:27:968]: Note: 1: 2205 2: 3: ActionText Action 18:56:27: FindRelatedProducts. Searching for related applications Action start 18:56:27: FindRelatedProducts. Action ended 18:56:27: FindRelatedProducts. Return value 1. and MSI (s) (C8:34) [18:56:32:968]: Doing action: FindRelatedProducts MSI (s) (C8:34) [18:56:32:984]: Note: 1: 2205 2: 3: ActionText Action 18:56:32: FindRelatedProducts. Searching for related applications Action start 18:56:32: FindRelatedProducts. MSI (s) (C8:34) [18:56:32:984]: Skipping FindRelatedProducts action: already done on client side Action ended 18:56:32: FindRelatedProducts. Return value 0. Does that look right? Why is REP after InstallFinalize? I was following the recommendation in the fourth bullet point of the Sequence Restrictions section of http://msdn.microsoft.com/en-us/library/aa371197(VS.85).aspx. I've tried the other possibilities too. I still end up with two entries in the Add or Remove Programs table. -- Charles -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two Entries in Add or Remove Programs
I go back to Wix Edit and change both the Product GUID and the Package GUID. The Upgrade ID GUID does not change. I rebuild the MSI setup package. ... Upgrade Id=49AB249B-C143-412E-B138-6689533DC53A UpgradeVersion Property=OLDERVERSIONBEINGUPGRADED Maximum=!(bind.FileVersion.gssta_exe) IncludeMinimum=yes OnlyDetect=no IncludeMaximum=no Minimum=0.0.0.0 / UpgradeVersion Property=NEWERVERSIONDETECTED Minimum=!(bind.FileVersion.gssta_exe) OnlyDetect=yes IncludeMinimum=yes / /Upgrade Product/@Version must be changed as well and whatever is used as a value for Product/@Version must be used for UpgradeVesrion/@Minimum where Property=NEWERVERSIONDETECTED. Alex -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two Entries in Add or Remove Programs
Wilson, Phil wrote: That means it didn't find the previous version for some reason otherwise it would mention the ProductCode guid of the discovered product. What's actually in the Upgrade table in the MSI file? I'm wondering if the version range is really correct. From Orca, here are the two entries in the Upgrade table for the Version 1.1 package: UpgradeCode: {49AB249B-C143-412E-B138-6689533DC53A} VersionMin: 1.1.0.0 VersionMax: [none] Attributes: 258 ActionProperty: NEWERVERSIONDETECTED UpgradeCode: {49AB249B-C143-412E-B138-6689533DC53A} VersionMin: 0.0.0.0 VersionMax: 1.1.0.0 Attributes: 256 ActionProperty: OLDERVERSIONBEINGUPGRADED That location for REP is more efficient because the file replacement rules are such that you have many files that aren't going to be updated. If a lot are going to be updated anyway the efficiency decreases. However it's not a safe location because of the rollback issue. There is a similar efficient location (assuming efficiency is valued more than safety ;=) ) which is directly before InstallFinalize using [InstallExecute, RemovePreviousVersions, InstallFinalize ], which is what the 3rd bullet is saying... I have now moved RemovePreviousVersions to the position after InstallExecute and before InstallFinalize. -- Charles -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two Entries in Add or Remove Programs
That fixed it! Thanks! -Original Message- From: Wilson, Phil [mailto:phil.wil...@wonderware.com] Sent: Wednesday, May 13, 2009 1:56 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Two Entries in Add or Remove Programs That means it didn't find the previous version for some reason otherwise it would mention the ProductCode guid of the discovered product. What's actually in the Upgrade table in the MSI file? I'm wondering if the version range is really correct. That location for REP is more efficient because the file replacement rules are such that you have many files that aren't going to be updated. If a lot are going to be updated anyway the efficiency decreases. However it's not a safe location because of the rollback issue. There is a similar efficient location (assuming efficiency is valued more than safety ;=) ) which is directly before InstallFinalize using [InstallExecute, RemovePreviousVersions, InstallFinalize ], which is what the 3rd bullet is saying - the rollback of the new install means the new product won't be installed, and the older product uninstall is rolled back leaving it installed, so you're back where you started. Phil Wilson -Original Message- From: Chuck [mailto:electroch...@att.net] Sent: Wednesday, May 13, 2009 12:37 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Two Entries in Add or Remove Programs Wilson, Phil wrote: Get an MSI log to see what's going on. Look at all instances of FindRelatedProducts to see if it's detecting your older product. There are two sections of FindRelatedProducts in the log for the 1.1 version upgrade installation. MSI (c) (28:8C) [18:56:27:953]: Doing action: FindRelatedProducts MSI (c) (28:8C) [18:56:27:968]: Note: 1: 2205 2: 3: ActionText Action 18:56:27: FindRelatedProducts. Searching for related applications Action start 18:56:27: FindRelatedProducts. Action ended 18:56:27: FindRelatedProducts. Return value 1. and MSI (s) (C8:34) [18:56:32:968]: Doing action: FindRelatedProducts MSI (s) (C8:34) [18:56:32:984]: Note: 1: 2205 2: 3: ActionText Action 18:56:32: FindRelatedProducts. Searching for related applications Action start 18:56:32: FindRelatedProducts. MSI (s) (C8:34) [18:56:32:984]: Skipping FindRelatedProducts action: already done on client side Action ended 18:56:32: FindRelatedProducts. Return value 0. Does that look right? Why is REP after InstallFinalize? I was following the recommendation in the fourth bullet point of the Sequence Restrictions section of http://msdn.microsoft.com/en-us/library/aa371197(VS.85).aspx. I've tried the other possibilities too. I still end up with two entries in the Add or Remove Programs table. -- Charles -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - -- The information transmitted by this e-mail and any included attachments are from ARUP Laboratories and are intended only for the recipient. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws, or protected health information and is intended only for the use of the recipient. Unauthorized forwarding, printing, copying, distributing, or use of such information is strictly prohibited and may be unlawful. If you are not the intended recipient, please promptly delete this e-mail and notify the sender of the delivery error or you may call ARUP Laboratories Compliance Hot Line in Salt Lake City, Utah USA at (+1 (800) 522-2787 ext. 2100 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world
Re: [WiX-users] Two Entries in Add or Remove Programs
Schaff, Stephen wrote: That fixed it! Thanks! I think you replied to the wrong message, Stephen. The 'two entries' problem continues. -- Charles -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two Entries in Add or Remove Programs
Opps, responded to the wrong email So very sorry... -Original Message- From: Schaff, Stephen [mailto:stephen.sch...@aruplab.com] Sent: Wednesday, May 13, 2009 4:20 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Two Entries in Add or Remove Programs That fixed it! Thanks! -Original Message- From: Wilson, Phil [mailto:phil.wil...@wonderware.com] Sent: Wednesday, May 13, 2009 1:56 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Two Entries in Add or Remove Programs That means it didn't find the previous version for some reason otherwise it would mention the ProductCode guid of the discovered product. What's actually in the Upgrade table in the MSI file? I'm wondering if the version range is really correct. That location for REP is more efficient because the file replacement rules are such that you have many files that aren't going to be updated. If a lot are going to be updated anyway the efficiency decreases. However it's not a safe location because of the rollback issue. There is a similar efficient location (assuming efficiency is valued more than safety ;=) ) which is directly before InstallFinalize using [InstallExecute, RemovePreviousVersions, InstallFinalize ], which is what the 3rd bullet is saying - the rollback of the new install means the new product won't be installed, and the older product uninstall is rolled back leaving it installed, so you're back where you started. Phil Wilson -Original Message- From: Chuck [mailto:electroch...@att.net] Sent: Wednesday, May 13, 2009 12:37 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Two Entries in Add or Remove Programs Wilson, Phil wrote: Get an MSI log to see what's going on. Look at all instances of FindRelatedProducts to see if it's detecting your older product. There are two sections of FindRelatedProducts in the log for the 1.1 version upgrade installation. MSI (c) (28:8C) [18:56:27:953]: Doing action: FindRelatedProducts MSI (c) (28:8C) [18:56:27:968]: Note: 1: 2205 2: 3: ActionText Action 18:56:27: FindRelatedProducts. Searching for related applications Action start 18:56:27: FindRelatedProducts. Action ended 18:56:27: FindRelatedProducts. Return value 1. and MSI (s) (C8:34) [18:56:32:968]: Doing action: FindRelatedProducts MSI (s) (C8:34) [18:56:32:984]: Note: 1: 2205 2: 3: ActionText Action 18:56:32: FindRelatedProducts. Searching for related applications Action start 18:56:32: FindRelatedProducts. MSI (s) (C8:34) [18:56:32:984]: Skipping FindRelatedProducts action: already done on client side Action ended 18:56:32: FindRelatedProducts. Return value 0. Does that look right? Why is REP after InstallFinalize? I was following the recommendation in the fourth bullet point of the Sequence Restrictions section of http://msdn.microsoft.com/en-us/library/aa371197(VS.85).aspx. I've tried the other possibilities too. I still end up with two entries in the Add or Remove Programs table. -- Charles -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - -- The information transmitted by this e-mail and any included attachments are from ARUP Laboratories and are intended only for the recipient. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws, or protected health information and is intended only for the use of the recipient. Unauthorized forwarding, printing, copying, distributing, or use of such information is strictly prohibited and may be unlawful. If you are not the intended recipient, please promptly delete this e-mail and notify the sender of the delivery error or you may call ARUP
Re: [WiX-users] Two Entries in Add or Remove Programs
The 'two entries' problem continues. Well, if per-user/per-machine context did not change, I can only suggest comparing your upgrade steps to steps in here: http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8- major-upgrade.aspx Alex -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two Entries in Add or Remove Programs
Alex Shevchuk wrote: Well, if per-user/per-machine context did not change, I can only suggest comparing your upgrade steps to steps in here: ...from-msi-to-wix-part-8-major-upgrade.aspx I worked through that page of instructions. That resulted in a few changes. In the Package element I added SummaryCodepage=1252, a few Keywords, ShortNames=no AdminImage=no and ReadOnly=no. Apparently I still have problems with FindRelatedProducts. Next I'm going to analyze the installation log. -- Charles -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two Entries in Add or Remove Programs
Hi Charles, Could you share your Product, Package, Upgrade, UpgradeVersion, and InstallExecuteSequence elements? Also, context in which upgrade is installed is the same as 1.0 version was installed, no changes in ALLUSER property, right? Alex -Original Message- From: Chuck [mailto:electroch...@att.net] Sent: Wednesday, May 13, 2009 9:32 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Two Entries in Add or Remove Programs Alex Shevchuk wrote: Well, if per-user/per-machine context did not change, I can only suggest comparing your upgrade steps to steps in here: ...from-msi-to-wix-part-8-major-upgrade.aspx I worked through that page of instructions. That resulted in a few changes. In the Package element I added SummaryCodepage=1252, a few Keywords, ShortNames=no AdminImage=no and ReadOnly=no. Apparently I still have problems with FindRelatedProducts. Next I'm going to analyze the installation log. -- Charles -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Two Entries in Add or Remove Programs
I have been testing the major upgrade procedure under WiX Version 3.0.5217.0 and Windows XP. I install version 1.0 of my application successfully. (It has the required Upgrade element.) To prepare for the next version of my application I increment the FILEVERSION, PRODUCTVERSION and FileVersion values in resource file from 1.0 to 1.1 and rebuild the executable. (WiX Edit reads the File Version--see below.) I go back to Wix Edit and change both the Product GUID and the Package GUID. The Upgrade ID GUID does not change. I rebuild the MSI setup package. Then I use this new package to install version 1.1 of my application. Version 1.1 of the program installs successfully but I am left with two entries in Control Panel Add or Remove Programs. One points to version 1.0; the other points to version 1.1. Upgrade Id=49AB249B-C143-412E-B138-6689533DC53A UpgradeVersion Property=OLDERVERSIONBEINGUPGRADED Maximum=!(bind.FileVersion.gssta_exe) IncludeMinimum=yes OnlyDetect=no IncludeMaximum=no Minimum=0.0.0.0 / UpgradeVersion Property=NEWERVERSIONDETECTED Minimum=!(bind.FileVersion.gssta_exe) OnlyDetect=yes IncludeMinimum=yes / /Upgrade InstallExecuteSequence RemoveExistingProducts After=InstallFinalize / /InstallExecuteSequence In the Add or Remove Programs table, if I select Remove for version 1.0 (after version 1.1 is installed) the application is not removed. (The table entry does go away.) If I select Remove for version 1.1, the application is removed. What can I do to ensure that only the latest version is shown in the Add or Remove Programs table? -- Charles -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users