Re: [WiX-users] Replace component on reinstall

2011-08-25 Thread The Eligible Bachelors
Thank you for your ideas. I will fiddle with Mike's solution and see if I can get things going as I would like. The more I read about my scenario, the more I realize it is probably best to not be overwriting a user-edited file, in fact. So perhaps I am going down the wrong road. Cheers.

Re: [WiX-users] Replace component on reinstall

2011-08-24 Thread The Eligible Bachelors
] Replace component on reinstall You could try specifying a version on the File element.  I think that will cause Windows Installer to always replace the unversioned file on disk with what it thinks is a versioned file. Rob On 17/08/2011 16:30, The Eligible Bachelors wrote: Hello, I would like

[WiX-users] Replace component on reinstall

2011-08-17 Thread The Eligible Bachelors
Hello, I would like to have a component that does not get removed at uninstall. However, if I uninstall and install again, I would like the file to be replaced with the one in the installer. Here is my code:     Component Id=PrefsFileComponent Guid=* Permanent=yes NeverOverwrite=no   

Re: [WiX-users] Component is not getting removed at uninstall

2011-08-02 Thread The Eligible Bachelors
Cc: Sent: Saturday, March 19, 2011 2:01 PM Subject: Re: [WiX-users] Component is not getting removed at uninstall Look at a verbose log file. It will show you the action states of the Components. On Wed, Mar 16, 2011 at 6:53 AM, The Eligible Bachelors theeligiblebachel...@yahoo.com wrote: I am

Re: [WiX-users] Multifeature filetype association

2011-03-17 Thread The Eligible Bachelors
Setting it to TargetFile='MainEXE' gives me the same ICE69 error. If I set it to TargetProperty='MainEXE' the install log shows: MSI (s) (64:68) [11:20:53:948]: Executing op: RegAddValue(,Value= %1,) WriteRegistryValues: Key: \Software\Classes\extfile\shell\open\command, Name: , Value: %1

Re: [WiX-users] Multifeature filetype association

2011-03-17 Thread The Eligible Bachelors
: The Eligible Bachelors [mailto:theeligiblebachel...@yahoo.com] Sent: 16 March 2011 21:03 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Multifeature filetype association Ok. So I have removed the property with the file search. Now it looks like: Component Id=A   File Id

Re: [WiX-users] Windows 7 MSI privileges

2011-03-16 Thread The Eligible Bachelors
Great. I added Execute=deferred and Impersonate=no to my custom actions and it seemed to fix the problem. I certainly dont want to go against UAC. I want to do what is right, whatever that may be, so thanks for the help. You need Execute=deferred custom actions with Impersonate=no. This will

[WiX-users] Component is not getting removed at uninstall

2011-03-16 Thread The Eligible Bachelors
I am having trouble figuring out why a component is not being removed at uninstall time. This problem happens when the MSI is run in Windows 7. When run in XP, the component is getting removed as expected. The Wix file is somewhat complex and contains a REINSTALLMODE property. What I have done

Re: [WiX-users] Multifeature filetype association

2011-03-16 Thread The Eligible Bachelors
Ok. So I have removed the property with the file search. Now it looks like: Component Id=A File Id=MainEXE name=Main.exe Source=$(var.BINDIR)/Main.exe/ /component ... Component Id=B ... ProgId Id='extfile' Description='Ext file' Extension Id='ext'

Re: [WiX-users] Multifeature filetype association

2011-03-15 Thread The Eligible Bachelors
Thanks for the input. Yes this is a single MSI with 3 features. I have tried the [#executable] idea, but I get an ICE69 error (MAINEXEC references invalid file). Property Id=MAINEXEC ComponentSearch Id=FindTargetFile Guid={GUID} Type=file FileSearch

[WiX-users] Windows 7 MSI privileges

2011-03-15 Thread The Eligible Bachelors
This is mostly a MSI question and not too WiX specific. I am porting an old WiX (3.0) installer from XP to Windows 7. The installer needs to be run as an admin because makes several calls to external programs that need admin privileges (to register COM objects and such). Even when I am logged

[WiX-users] Multifeature filetype association

2011-03-14 Thread The Eligible Bachelors
First of all what is the best resource for getting help with advanced WiX topics? A book or mailing list will do. I have been mostly using stackoverflow. And now for my question. I have an installer with features A, B (optional) and C (optional). Feature A is an executable and B and C are DLLs