Re: [WiX-users] Registry values are not updated during "Change"

2009-04-06 Thread post
Hi Natalia, tried setting transitive=yes for the parent component(s)? Kind regards, Hans On Mon, April 6, 2009 12:12, Natalia wrote: > > Hello all, > > I'm storing installation parameters in the registry. > > The code is the following: > > -- > > >Key='SOFTWARE\MyAppli

Re: [WiX-users] Delete installation folder

2009-03-25 Thread post
Try Kind regards, Hans On Wed, March 25, 2009 12:43, sandun css wrote: > Hi all, > > When I uninstall my application all the installed files get removed. But > some files do not get removed since they were generated after the > installation. (log files etc..) > > I need to delete those as wel

Re: [WiX-users] read return value of VBScript in wix

2009-03-16 Thread post
Runtime or compile time? Session.Property("STANDALONESERVER")="TRUE" sets the STANDALONE msi property to TRUE Kind regards, Hans On Mon, March 16, 2009 14:38, Hukumchand Shah wrote: > Hi, > > I want to read return value from vbscript function from wix. > OR > Is there any way to change wix pro

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread post
Hi Brian, after doing the RegistrySearch the property "MYREGKEYPROP" will be assigned the value if the key exists. If the key doesn't exist, the property "MYREGKEYPROP" will be assigned the default value "YetNotSet". You can use that fact in the condition for the component that writes/creates the

Re: [WiX-users] Registry Manipulation

2009-02-09 Thread post
Hi Brian, what about something along the lines of: NOT (MYREGKEYPROP~="A-value" OR MYREGKEYPROP~="YetNotSet") Regards, Hans On Mon, February 9, 2009 12:19, Yu, Brian wrote: > Is it possible for wix to search for existing registry value an

Re: [WiX-users] Reading value from Inifile

2008-11-12 Thread post
Hi, this can easily be done. Take a look here: http://msdn.microsoft.com/en-us/library/aa368012.aspx Read the "Feature and Component State Values" section. Kind regards, Hans > Hi Rob and Bob, > > Thanks for your help, It is working When i place my test.ini file in > C:\Windows. > > But i hav

Re: [WiX-users] Changing filename after installation

2008-10-30 Thread post
Hi Christer, a very easy way to accomplish this is to store a value for the selected environment in the GUI to a property. (As you already have done) And then use this property as a condition for the component(s) holding the environment specific file(s) for the selected environment. SETUP_CONF

Re: [WiX-users] Custom Action with Features association

2008-10-24 Thread post
Hi Senthilraj, You can put conditions based on feature and component state. Take a look here: http://msdn.microsoft.com/en-us/library/aa368012.aspx This is an example of how I install our SharePoint web parts. Kind regards, Hans > All, > > In our Wix package plan to have multiple featur

Re: [WiX-users] Exit Code is not working for return="check" in custom action.

2008-10-14 Thread post
Hi, change Execute="deferred" to Execute="immediate". Kind regards, Hans > > Hi, > > I have written a customaction running an exe which is written in .Net. The > exe is returning the exitcode as 0, but if there is any error the exitcode > is returned as 1, but the custom action is not stopping

Re: [WiX-users] How can I run a custom action only on uninstall

2008-10-14 Thread post
Hi, you must set the appropriate conditions: Installed NOT Installed The custom action will fire if the condition is evaluated to true. Kind regards, Hans > > Hi, > > I have two custom actions one should run on install, one should run on > uninstall, but

Re: [WiX-users] Delete temp files during uninstall

2008-10-01 Thread post
Files\myapplication""/> > >BinaryKey="WixCA" > DllEntry="CAQuietExec" > Execute="immediate" > Return="check"/> > > > > post wrote: >> &

Re: [WiX-users] Delete temp files during uninstall

2008-10-01 Thread post
Hi Vivek, You have at least these options: 1)Create a DTF custom action 2)Create a VB script custom action 3)Look into Quiet Execution Custom Action (ref Wix Help file) and then put a condition like REMOVE="ALL" so it does not get run on installs. If these files and folders are not installed by

Re: [WiX-users] misunderstanding of the CreateFolder directory attribute?

2008-09-24 Thread post
Bryan, I achieve this by using a separate fragment for each of my features, and use the DirectoryRef element to reference the main installation directory, which in this case I believe would be the "RenditionServerQ" directory. Kind regards, Hans >> Message: 1 >> Date: Tue, 23 Sep 2008 13:39:12

Re: [WiX-users] MSI writing my password values to log file

2008-09-24 Thread post
Hi, try to define your property with a default value in your wxs file and make sure the Hidden attribute is set to "yes", and then use your custom action to overwrite the default value for the property. Kind regards, Hans > > hi, > > in one of my dilaog we are taking the password as input to a