[WiX-users] I installed the application for ALLUSERS but MsiGetProductInfo returns false - why?

2011-04-04 Thread CP YEH
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

[WiX-users] main feature and sub feature size

2010-12-28 Thread CP YEH
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 ea

Re: [WiX-users] change install location from custom to default

2010-12-28 Thread CP YEH
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

[WiX-users] Disabling application restart upon updates

2010-12-15 Thread CP YEH
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 th

[WiX-users] Path name shows wrong on custom setup when I clicked 'change' after install.

2010-11-08 Thread CP YEH
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

Re: [WiX-users] How can I restart service after upgrade?

2010-06-22 Thread CP YEH
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

Re: [WiX-users] How can I restart service after upgrade?

2010-06-22 Thread CP YEH
t; > 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 M

[WiX-users] How can I restart service after upgrade?

2010-06-22 Thread CP YEH
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 --

[WiX-users] How to control windows reboot popup window?

2010-06-18 Thread CP YEH
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

[WiX-users] How can I change texts in existing dialog?

2010-01-25 Thread CP YEH
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 t

Re: [WiX-users] how to share variables between wix and C++ projects?

2010-01-24 Thread CP YEH
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 YE

[WiX-users] how to share variables between wix and C++ projects?

2010-01-24 Thread CP YEH
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 -

Re: [WiX-users] Bootstrapper with Custom GUI

2010-01-24 Thread CP YEH
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. P

Re: [WiX-users] How can I skip certain actions during upgrade?

2010-01-19 Thread CP YEH
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 certai

Re: [WiX-users] How can I skip certain actions during upgrade?

2010-01-19 Thread CP YEH
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-

[WiX-users] How can I skip certain actions during upgrade?

2010-01-19 Thread CP YEH
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 s

Re: [WiX-users] minor upgrade - how to check installed program version?

2010-01-18 Thread CP YEH
.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] >

Re: [WiX-users] minor upgrade - how to check installed program version?

2010-01-18 Thread CP YEH
orting 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 create

[WiX-users] minor upgrade - how to check installed program version?

2010-01-18 Thread CP YEH
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