Re: [WiX-users] How to create Menu Shortcut ?

2014-03-03 Thread faujong
Thank you. I copied and pasted your snippet, and enclosed them in Fragment element, and still getting the error "ICE64: The directory ApplicationProgramsFolder is in the user profile but is not listed in the RemoveFile table." AND "ICE64: The directory ManufacturersProgramFolder is in the user pro

Re: [WiX-users] How to create Menu Shortcut ?

2014-03-03 Thread faujong
Thank you. The Install type was set to perMachine. I then followed that link, and it got rid of the other errors and warnings, but this warning stays: ICE64: The directory APPLICATIONROOTDIRECTORY is in the user profile but is not listed in the RemoveFile table. But, APPLICATIONROOTDIRECTORY

[WiX-users] How to create Menu Shortcut ?

2014-03-03 Thread faujong
I am new to WiX. I am able to create a Desktop shortcut. I tried to create a menu shortcut that will show up under the "All Programs", but when I compile the program, I get errors "The directory WIX is in the user profile but is not listed in the RemoveFile table." and "An error occurred while val

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-03-01 Thread faujong
deliberately omit a required Dll is not > something I can help with. It's not realistic, and there are other > ways to cause rollbacks that don't involve deliberately crippling a > service. > > p.s. Those logs are unreadable - they are a blob with no line breaks. > -

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-28 Thread faujong
installFailedToStartServiceNoRollback.log installFailedToStartServiceRollback.log

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-28 Thread faujong
> I also don't understand why you would exclude a Dll that the service needs. I did this on purpose so that I can duplicate the problem when an installation fails. I want to see how the installation behaves when it fails. One way to do it is to exclude a required DLL for the windows service to run

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-28 Thread faujong
Also, I only get the files-in-use message when the installation fails. For example, if I don't include 1 of the required DLL to run the service, the service can't be started, so the installation fails. Then, I get the files-in-use message. But, if the installation is successful, I don't get the f

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-27 Thread faujong
Thank you, Phil. I do use the ServiceControl as below: >It doesn't roll back because nothing has been changed on the system. Actually, when this dialog box shows up (also after the failed installation finished without rolling back to the previous version), I check

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-27 Thread faujong
Thank you, Phil ! I changed the version to 1.0.2.0, and I deleted the UpgradeVersion element. I will now only see 1 installation in the Control Panel\Programs\Programs and Features. Thank you ! But, I still need to set Schedule="afterInstallExecute" to NOT override the config file. And, with this

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-27 Thread faujong
Thank you for your reply. I am new to WiX, so I apologize for not understanding too much of it. 1. Below is my Product.wxs. I am not sure if it is changing ProductCode and making a new product or not ? InstallScope is set to "perMachine". I have installed more than 2 times.

Re: [WiX-users] How to install on a subfolder ?

2014-02-26 Thread faujong
Thanks, that works ! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-install-on-a-subfolder-tp7592965p7592968.html Sent from the wix-users mailing list archive at Nabble.com. -

[WiX-users] How to install on a subfolder ?

2014-02-26 Thread faujong
The below Directory element installs my Windows Service on c:\program files\WixWindowsService2012. How can I install it on a subfolder, ie c:\program files\myCompany\WixWindowsService2012 ? Thank you. -- View this mes

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-26 Thread faujong
-- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-not-copy-a-file-in-subsequent-installations-tp7592929p7592961.html Sent from the wix-user

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-26 Thread faujong
Thank you all for your replies. @Sean: If I remove the UpgradeVersion elements, it keeps all the installation, ie when I go to Control Panel\Programs\Programs and Features, my installation shows up multiple times, as many as the number of times I install. @John: When Schedule="afterInstallExecu

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-26 Thread faujong
Hi John, "No existing file" is because prior to it the installation removed the file MSI (s) (00:9C) [09:59:20:624]: Executing op: FileRemove(,FileName=WixWindowsService2012.exe.config,,ComponentId={blabla}) MSI (s) (00:9C) [09:59:20:626]: Verifying accessibility of file: WixWindowsService2012.exe.

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-26 Thread faujong
I recreated the .MSI file today, and reran the installation with the following command: msiexec /i C:\Installs\WixWindowsService2012Setup\bin\Release\WixWindowsService2012Setup.msi /l*v C:\Installs\WixWindowsService2012Setup\bin\Release\install.log. It still overrides the config file, and this is

Re: [WiX-users] How to not copy a file in subsequent installations?

2014-02-25 Thread faujong
Thank you for your reply. The first installation was today, so the app.config file date is today's date. I then today modified the app.config file on the installed folder. Do I understand it correctly that 1. when I re-install again today, it overrides the app.config file because the dates of th

[WiX-users] How to not copy a file in subsequent installations?

2014-02-25 Thread faujong
n the Product.wxs, I set Schedule="afterInstallInitialize" in the MajorUpgrade so that if the installation fails, it will roll back to the previous version. Our Windows Service uses app.config that the installer copied to the installed machine. We do this by including the below line in the Product