Search Bob Arnson's blog "Joy of Setup" http://www.joyofsetup.com/ for "major upgrade".
Despite the name of the term, it is usually for most project the right kind of upgrade, especially if they don't plan on using MSP files. -----Original Message----- From: CP YEH [mailto:ntde...@gmail.com] Sent: Monday, January 18, 2010 11:55 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] minor upgrade - how to check installed program version? Thank you very much for your reply. My msi is pretty small in that it contains only few executable files(exe/dll). Every now and then there are changes to these files so I need to provide updates so that the user can download the upgrade packages to upgrade their application. It's also possible that I might have to add more files in the future. I don't know which upgrades is the best option but I felt that minor upgrade sounds most reasonable to me but if you have any other suggestions. Thank you. YEH <>< On Mon, Jan 18, 2010 at 2:38 PM, Blair <os...@live.com> wrote: > Normally those are checked by your bootstrapper that sets the REINSTALL and > REINSTALLMODE values on the commandline. If your bootstrapper doesn't check > versions you will need to write that yourself. > > Question: What use case do you have for using minor upgrades? Is it for > supporting patching? > > -----Original Message----- > From: CP YEH [mailto:ntde...@gmail.com] > Sent: Monday, January 18, 2010 11:08 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] minor upgrade - how to check installed program version? > > Hi, > > I have created setup msi and it works fine. Then, I created minor > upgrade msi and I would like to check what version of my program is > installed on the machine to see if I should proceed to install. > > I added some code as follows. > > <Upgrade Id="fea8ad46-55f2-481a-8735-cbd721ccb3ec"> > <UpgradeVersion OnlyDetect="yes" Property="SELFFOUND" > Minimum="1.0.1" IncludeMinimum="yes" > Maximum="1.0.1" IncludeMaximum="yes" /> > <UpgradeVersion OnlyDetect='yes' Property='NEWERFOUND' > Minimum='1.0.2' IncludeMinimum='no' /> > </Upgrade> > > <CustomAction Id='AlreadyUpdated' Error='[ProductName] is already > installed.' /> > <CustomAction Id='NoDowngrade' Error='A later version of > [ProductName] is already installed.' /> > > <InstallExecuteSequence> > <Custom Action="NoDowngrade" > After="FindRelatedProducts">NEWERFOUND</Custom> > <Custom Action="AlreadyUpdated" > After="FindRelatedProducts">SELFFOUND</Custom> > </InstallExecuteSequence> > > But looking at the logs I found that actions are skipped because I am > running this msi in maintenance mode and thus, FindRelatedProducts > action is skipped. > So I am wondering how I can cause msi to run my custom actions to > check versions. > Please let me know if anyone dealt with this issue before. Thanks. > > > YEH <>< > > ---------------------------------------------------------------------------- > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ---------------------------------------------------------------------------- -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ---------------------------------------------------------------------------- -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users