[WiX-users] I installed the application for ALLUSERS but MsiGetProductInfo returns false - why?
Hi, I have created an installer using wix and when the user installs our product, I set it to be installed for ALLUSERS by setting ALLUSERS property to '1' as follows. However, on certain windows when I call MsiGetProductInfo(), it returns '1605' - This action is only valid for products that are currently installed. Yet, if I call MsiEnumProducts(), I can find the product installed. FYI, followings are how I call these two apis. err = MsiGetProductInfo( MY_PRODUCT_CODE, INSTALLPROPERTY_VERSIONSTRING, version, &len); err = MsiEnumProductsEx( MY_PRODUCT_CODE, "s-1-1-0", // All-users MSIINSTALLCONTEXT_ALL, idx++, buf, NULL, NULL, NULL); In some cases, MsiGetProductInfo returned error 1605 but MsiEnumProductsEx returns ERROR_SUCCESS. Can anyone tell me why this happens? I need to make sure that my intaller should install our product for SYSTEM account even though it is admin that runs the installer because we have the service application and this service application manages update procedure. But if this service application cannot find our product, the update fails. I assume that somehow even though I set ALLUSERS to '1', it did not install for everyone on the machine. Is there any way I can make sure that it is installed for all users. Is there any way I can make sure that it is installed for SYSTEM in wix? If anyone can give me some suggestion on this, I will really appreciate it. Thank you. YEH -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] main feature and sub feature size
Hi All, I created an installer and that has a feature that has two other features as its children. When the user clicks 'custom' and check out the size of these features, it says that main feature size is zero but the size of sub features are not zero. This makes sense to me in that the size of each sub feature corresponds to executables that will be installed. Yet, I would like to know if somehow I can set the size of main feature to be sum of the size of two children sub features. Is there any way I can achieve that? All suggestions will be appreciated. Thank you. YEH -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] change install location from custom to default
I am having the same problem as the following email describes. Just out of curiosity, Lisa were you able to resolve this issue? Or if anyone has any suggestion, please kindly let me know. Thanks in advance. YEH On Tue, Mar 2, 2010 at 9:57 AM, Lisa Gracias wrote: > In my msi there are 3 types of installations listed in a radio button group > in a setup type dialog - Default, custom, and complete. If Default or > Complete is chosen, then the product is installed to ProgramFilesFolder. If > the user chooses Custom then in the next dialog they can choose a custom > location using the SelectionTree control (this is in the standard Wix screen > 'CustomizeDlg'). The problem is, if the user then goes back to the setup > type dialog and selects Default, the product still gets installed to the > custom location, instead of the default one. How do I reset the install > target folder? > > I've tried this to no effect: > > ProgramFilesFolder > > Value="[WIXUI_INSTALLDIR]" Order="1">1 > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Disabling application restart upon updates
Hi All, My installer consists of dll library that is being used by several applications and when we update this dll on Windows 2008, I noted that Restart manager kicks in and restarts those apps that use our dll. However, we would like to disable this behavior and I found that I can probably do this using Restart manager apis but I would like to ask some questions to clarify my understanding on this. 1. Can I use just set MSIRESTARTMANAGERCONTROL property instead of calling Restart manager apis because Restart manager is only avaiable Vista and later windows but I do not want to create a separate installer depending on windows version. 2. If I can use MSIRESTARTMANAGERCONTROL property, I read that Disable means it will use FileInUse but most of the time our update is done without human interaction and thus, we run the updates with "REINSTALL=MainProgram REINSTALLMODE=vo /norestart" option. So is it fine not to worry about FileInUse case if I can control Restart manager with MSIRESTARTMANAGERCONTROL property? 3. If I cannot use MSIRESTARTMANAGERCONTROL, am I correct to use RmAddFilter to control? I can't predict which apps use my dll in certain case so I am so certain how to provide the string value for RmAddFilter? Is there any other way to achieve this? Thank you very much in advance. Have a great day! YEH -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Path name shows wrong on custom setup when I clicked 'change' after install.
Hi, I created an installer and it works generally fine but I have one issue that I can't resolve. Here is what happens. After the user installs the program in a different location other than default location and when s/he wants to change something, they go to Add or Remove Programs and there they select my program with 'change'. Then, the installer gives three options: change, repair, or remove. There if the user selects the 'Change', the installer displays Custom Setup page. However, the path it displays on the bottom is not the one that they installer my program but the default path. How can I control this path display to show the actual install location? Any advice will be appreicated. Thank you very much. YEH -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How can I restart service after upgrade?
I might be wrong but when I set ServiceControl to be Start='install' Stop='both', it restarted my service so I guess I found what I needed. Thank you anyway. On Tue, Jun 22, 2010 at 1:56 PM, CP YEH wrote: > Thank you for your answer. I have not tried it yet but looking at the > page it is not clear to me how I should this to achieve what I want. I > just want to restart my service after upgrade is complete. Yet, the > page says that we can take actions when there is a failure. Could you > give me little more explanation? Thank you. > > > > On Tue, Jun 22, 2010 at 12:37 PM, Pally Sandher > wrote: >> http://wix.sourceforge.net/manual-wix3/util_xsd_serviceconfig.htm >> >> Palbinder Sandher >> Software Deployment & IT Administrator >> T: +44 (0) 141 945 8500 >> F: +44 (0) 141 945 8501 >> >> http://www.iesve.com >> **Design, Simulate + Innovate with the ** >> Integrated Environmental Solutions Limited. Registered in Scotland No. >> SC151456 >> Registered Office - Helix Building, West Of Scotland Science Park, >> Glasgow G20 0SP >> Email Disclaimer >> >> -Original Message- >> From: CP YEH [mailto:ntde...@gmail.com] >> Sent: 22 June 2010 16:38 >> To: General discussion for Windows Installer XML toolset. >> Subject: [WiX-users] How can I restart service after upgrade? >> >> Dear All, >> >> I would like to restart service when upgrade is done but I could not >> figure out how to do this. Could anyone give me some hint? >> Right now, the way I do upgrade is to use the following command. >> >> msiexec /i "C:\temp\setup.msi" REINSTALL=MainProgram REINSTALLMODE=vo >> >> Thank you. >> >> YEH >> >> >> -- >> ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's >> Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the >> prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> ___ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> >> -- >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> ___ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How can I restart service after upgrade?
Thank you for your answer. I have not tried it yet but looking at the page it is not clear to me how I should this to achieve what I want. I just want to restart my service after upgrade is complete. Yet, the page says that we can take actions when there is a failure. Could you give me little more explanation? Thank you. On Tue, Jun 22, 2010 at 12:37 PM, Pally Sandher wrote: > http://wix.sourceforge.net/manual-wix3/util_xsd_serviceconfig.htm > > Palbinder Sandher > Software Deployment & IT Administrator > T: +44 (0) 141 945 8500 > F: +44 (0) 141 945 8501 > > http://www.iesve.com > **Design, Simulate + Innovate with the ** > Integrated Environmental Solutions Limited. Registered in Scotland No. > SC151456 > Registered Office - Helix Building, West Of Scotland Science Park, > Glasgow G20 0SP > Email Disclaimer > > -Original Message- > From: CP YEH [mailto:ntde...@gmail.com] > Sent: 22 June 2010 16:38 > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] How can I restart service after upgrade? > > Dear All, > > I would like to restart service when upgrade is done but I could not > figure out how to do this. Could anyone give me some hint? > Right now, the way I do upgrade is to use the following command. > > msiexec /i "C:\temp\setup.msi" REINSTALL=MainProgram REINSTALLMODE=vo > > Thank you. > > YEH > > > -- > ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's > Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the > prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How can I restart service after upgrade?
Dear All, I would like to restart service when upgrade is done but I could not figure out how to do this. Could anyone give me some hint? Right now, the way I do upgrade is to use the following command. msiexec /i "C:\temp\setup.msi" REINSTALL=MainProgram REINSTALLMODE=vo Thank you. YEH -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to control windows reboot popup window?
Hi all, I created an installer that consists several dlls and exes. I also supports updates so the user can update our product instead of reinstalling our product. So far it's pretty good. However, when the user either updates or uninstall our product, windows display the message asking the user to reboot the machine. I know that mostly that's not really needed so I want to know how I can control that message windows so that I can suppress it when it's not needed. Could anyone give me some advice on this? Thank you very much. YEH -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How can I change texts in existing dialog?
I would like to change the default words on one of the existing dialog and so far the only way I have found is to add loc but it's not clear to me if I can also customize the words other than company, product names, and so on. For instance, i want to change the words on Resume Dialog because when the user execute minor upgrade, the words don't quite make sense. Thanks in advance. YEH -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] how to share variables between wix and C++ projects?
Thank you for your answer. I may not understand your reply correctly but I was looking for a way to keep a variable in one place for various projects. In other words, currently I have product version variable for future upgrade in wxs file but I need this information in other parts of my code which is in C/C++. In Wix: In C/C++ project: #define ProductVer "1.0.1" The thing is that I tend to forget to update this variable in both places so sometimes my app does not work correctly and it takes time to figure out where I did wrong. :-( I am not looking for a way to retrieve these information from installed product but looking for a way to define one variable in my VS solution so that I could somehow use it from both Wix and C/C++ projects. If that was what I meant, I am sorry but could you give me one example of API? Thank you very much. YEH On Sun, Jan 24, 2010 at 8:16 PM, Rob Mensching wrote: > The MSI SDK provides a number of APIs to get at those pieces of data from a > custom action. The WiX toolset ships with many custom actions. You might > read through those to get an idea how to read MSI databases. > > On Sun, Jan 24, 2010 at 3:47 PM, CP YEH wrote: > >> I have Wix project that contains product codes and version information >> and I would like to find a way to use these information from C++ >> project because I do not want to define these variables two different >> places. >> Could anyone tell me how to achieve this? >> 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 >> >> > > > -- > virtually, Rob Mensching - http://RobMensching.com LLC > -- > 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
[WiX-users] how to share variables between wix and C++ projects?
I have Wix project that contains product codes and version information and I would like to find a way to use these information from C++ project because I do not want to define these variables two different places. Could anyone tell me how to achieve this? 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
Re: [WiX-users] Bootstrapper with Custom GUI
In addition, you can probably create your own self-extracting program to take care of your needs. In other words, you just need to create a simple C/C++ program to add your msi to it. So when the user executes your exe, it would detach the msi from itself and call CreateProcess to launch msiexec. Please look for an example on codeproject that extracts the executables. YEH On Sun, Jan 24, 2010 at 6:26 PM, dB. wrote: > dotNetInstaller 1.8 has support for custom UI elements. It's not "awesome" or > "template-based", but it's a start. It lets you have custom controls outside > of mandatory ones like the list of applications. > > dB. @ dblock.org > Moscow|Geneva|Seattle|New York > > > > -Original Message- > From: Kevin Garman [mailto:gar...@scadaware.com] > Sent: Tuesday, January 05, 2010 3:26 PM > To: wix-users > Subject: [WiX-users] Bootstrapper with Custom GUI > > Hi, > > I've been looking for a bootstrapper that will manage multiple instances > for me (install, modify, update). The dotNetInstaller was suggested to > me, and while that looks like a pretty sweet app, it seems like it won't > take care of my custom gui needs. I also have considered just a simple > VB.net app, but this would require the .net framework to be present--as > a last resort this will be fine but it would be nice to be able to > satisfy the .net using the bootstrapper as well. > > Basically, I want have one exe that the user runs and is presented with > a window where they can install a new instance or choose, form a list of > installed instances, one to modify or update. > > Thanks, > Kevin > -- > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-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
Re: [WiX-users] How can I skip certain actions during upgrade?
Here are my code. I also added custom actions that are related to upgrade section. Thank you very much. NEWFOUND NEWFOUND On Tue, Jan 19, 2010 at 3:59 PM, Blair wrote: > Please post everything you have in your *.wxs and *.wxi files that falls > inside of any tags. > > -Original Message----- > From: CP YEH [mailto:ntde...@gmail.com] > Sent: Tuesday, January 19, 2010 9:18 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] How can I skip certain actions during upgrade? > > Thank you very much for your reply. I am sorry to bother you but it is > not quite obvious to me how to alter installer's behaviors. My code > does check for upgrade and set certain property if it is upgrade but I > just do not know how to pass this value to actions/UIs. > > For instance, I have a code that removes files at uninstall. > > > > But I am not sure how I can alter the behavior so it does not remove > files during upgrade. > > Another question is that I want to skip some UIs if it is upgrade but > it's not again clear to me how I can pass upgrade information. > I know this sounds quite trivial but I could not find answers on the > web. I will really appreciate it if you could show me some examples on > these. Thank you very much. > > YEH > > On Tue, Jan 19, 2010 at 11:45 AM, Blair wrote: >> There is[are] a property you associate with the previous product(s) that > you >> will remove/replace when performing your upgrade. The UpgradeVersion >> elements that don't have OnlyDetect set to yes. If any of them are > populated >> then you know that you are upgrading. You can use that in your conditions > to >> alter the installer's behaviors. >> >> -Original Message- >> From: CP YEH [mailto:ntde...@gmail.com] >> Sent: Tuesday, January 19, 2010 8:25 AM >> To: General discussion for Windows Installer XML toolset. >> Subject: [WiX-users] How can I skip certain actions during upgrade? >> >> Hi, >> >> I have posted a question yesterday about minor upgrade and it seems to >> me that it would be better to use major upgrade. >> However, with major upgrade I want to know how I can skip some > actions/UIs. >> >> Here are my requirements. >> >> - I do not want to remove some configuration files that the user has >> saved over time. >> - I want to skip License agreement/User credential UIs. >> >> Can anyone give me some examples to achieve the above? Thank you very >> much in advance. >> >> 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 > > > --
Re: [WiX-users] How can I skip certain actions during upgrade?
Thank you very much for your reply. I am sorry to bother you but it is not quite obvious to me how to alter installer's behaviors. My code does check for upgrade and set certain property if it is upgrade but I just do not know how to pass this value to actions/UIs. For instance, I have a code that removes files at uninstall. But I am not sure how I can alter the behavior so it does not remove files during upgrade. Another question is that I want to skip some UIs if it is upgrade but it's not again clear to me how I can pass upgrade information. I know this sounds quite trivial but I could not find answers on the web. I will really appreciate it if you could show me some examples on these. Thank you very much. YEH On Tue, Jan 19, 2010 at 11:45 AM, Blair wrote: > There is[are] a property you associate with the previous product(s) that you > will remove/replace when performing your upgrade. The UpgradeVersion > elements that don't have OnlyDetect set to yes. If any of them are populated > then you know that you are upgrading. You can use that in your conditions to > alter the installer's behaviors. > > -Original Message- > From: CP YEH [mailto:ntde...@gmail.com] > Sent: Tuesday, January 19, 2010 8:25 AM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] How can I skip certain actions during upgrade? > > Hi, > > I have posted a question yesterday about minor upgrade and it seems to > me that it would be better to use major upgrade. > However, with major upgrade I want to know how I can skip some actions/UIs. > > Here are my requirements. > > - I do not want to remove some configuration files that the user has > saved over time. > - I want to skip License agreement/User credential UIs. > > Can anyone give me some examples to achieve the above? Thank you very > much in advance. > > 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
[WiX-users] How can I skip certain actions during upgrade?
Hi, I have posted a question yesterday about minor upgrade and it seems to me that it would be better to use major upgrade. However, with major upgrade I want to know how I can skip some actions/UIs. Here are my requirements. - I do not want to remove some configuration files that the user has saved over time. - I want to skip License agreement/User credential UIs. Can anyone give me some examples to achieve the above? Thank you very much in advance. 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
Re: [WiX-users] minor upgrade - how to check installed program version?
Thank you for your reply. I saw that web pages earlier and perhaps I did not look at it closely enough but there are two things that led me to think that I should use minor upgrades. One, I check user credential during installation so I don't think the user wants to enter their credential again during upgrade. Two, I have certain files that I don't want to lose during upgrades because I keep user configuration data there. Of course, I am not really willing to create another bootstrapper just because I need to check previous versions and I need to pass certain command line arguments. Please kindly let me know if I can avoid the above two points. If so, I will look for options to implement major upgrades instead. Thank you very much. YEH <>< On Mon, Jan 18, 2010 at 3:31 PM, Blair wrote: > 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 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. >> >> >> > Minimum="1.0.1" IncludeMinimum="yes" >> Maximum="1.0.1" IncludeMaximum="yes" /> >> > Minimum='1.0.2' IncludeMinimum='no' /> >> >> >> >> >> >> >> > After="FindRelatedProducts">NEWERFOUND >> > After="FindRelatedProducts">SELFFOUND >> >> >> 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'
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 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. > > > Minimum="1.0.1" IncludeMinimum="yes" > Maximum="1.0.1" IncludeMaximum="yes" /> > Minimum='1.0.2' IncludeMinimum='no' /> > > > > > > > After="FindRelatedProducts">NEWERFOUND > After="FindRelatedProducts">SELFFOUND > > > 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
[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. NEWERFOUND SELFFOUND 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