Re: [WiX-users] changes to support upgrades ? help !

2013-09-27 Thread nkshirsagar
wont the same file be overwritten when the installer copies the files ? here's my scenario.. I have file a.txt as a blank file being installed in the first msi. I installed this blank file because I needed this file to be removed upon uninstall and removeFile element wasnt working for me. This

Re: [WiX-users] changes to support upgrades ? help !

2013-09-27 Thread nkshirsagar
thanks for the affirmation. I will try this out.. but where should I schedule the custom action to copy? (I'm assuming it will be a copyfile custom action.. am i right? Here's my wxs file in case you want to see where I'm scheduling the upgrade in majorupgrade, and where my custom actions are

Re: [WiX-users] changes to support upgrades ? help !

2013-09-26 Thread nkshirsagar
hi phil, I have a data file installed in version 1.0 in say path c:\installedproduct. I need to preserve this file upon upgrade because the application changes this file and I need the changes for the upgraded application. If the version 2.0 is installed in say c:\anotherlocation , how would I

Re: [WiX-users] changes to support upgrades ? help !

2013-09-26 Thread nkshirsagar
thanks a lot. I'm writing the install location to the registry as of now .. so the upgrade would read that location from the registry and copy over the file after installation.. so the earlier file would need to be overwritten. Where could I schedule this copyfile? Would it be a custom action ?

Re: [WiX-users] changes to support upgrades ? help !

2013-09-25 Thread nkshirsagar
hi kiran, thanks a lot for your reply. I am pasting my wxs file below for you to take a look.. what I need to do is release version 1.0.0.0 right now but with the changes required so that future upgrade 2.0.0.0 will recognize it as an upgrade, and uninstall the earlier version but keep the

Re: [WiX-users] changes to support upgrades ? help !

2013-09-25 Thread nkshirsagar
hi kiran, I modified majorupgrade element as follows MajorUpgrade DowngradeErrorMessage=A newer version of [ProductName] is already installed. Schedule=afterInstallInitialize/ but after this modification, although I dont see the error anymore.. my custom uninstall action is not being called at

Re: [WiX-users] changes to support upgrades ? help !

2013-09-25 Thread nkshirsagar
hi kiran, if the user selects a different installation folder for the new msi, how will the clusterinfo.bin file get copied over? I mean, how would the wix installer know that it needs to preserve this file from the older install location and copy it into the new install location ?? confused !

[WiX-users] changes to support upgrades ? help !

2013-09-24 Thread nkshirsagar
Hello, I urgently need to make changes to my wxs file to support upgrades in the future and I need to release in a few days ! I need the next msi to recognise the earlier installation, and retain one file while copying over the new dll's. Can someone please help me ? I'm pasting my wxs file

[WiX-users] Need some help with upgrade support in first version of MSI

2013-09-24 Thread nkshirsagar
I'm releasing a version 1.0 MSI this week and need to support upgrades since the next version should recognise the earlier installation, and retain one of the files installed in this msi without overwriting it. What changes would I need at the minimum in this version so that the future upgrades

Re: [WiX-users] Need some help with upgrade support in first version of MSI

2013-09-24 Thread nkshirsagar
can you provide any details? I'm a wix newbie. I'm using wix 3.7. What do I need to 1) Make sure my msi can support future upgrades 2) When the next msi installs, one of the files must not be changed (its a data file, I need to keep it as it is.. ) please help ! -- View this message in

Re: [WiX-users] install only on server 2012 and server 2008

2013-09-22 Thread nkshirsagar
I know i need to use versionnt64, but how do I specifically limit the installation OS's to server 2012 and server 2008 R2 ? I dont want to allow installation on xp,vista,win7,win8, etc.. -- View this message in context:

[WiX-users] WIX support for both 2012 and 2008 at the same time ?

2013-09-20 Thread nkshirsagar
I was using vs 2012 with wix 3.7 and it was working well for me. Now I need to compile my sources on vs 2008 with sp1. I installed vs 2008 and vs 2008 sp1, and did a repair for wix 3.7 assuming it would add the votive plugin to vs 2008. But I still can't see wix projects in vs 2008. Do I need to

[WiX-users] install only on server 2012 and server 2008

2013-09-20 Thread nkshirsagar
I need to be able to install only on windows server 2012 and windows server 2008 r2, everything else is a no-no.. (no client OS, no vista, no xp, no windows 7/8) what condition should I use? Thanks, Nikhil -- View this message in context:

Re: [WiX-users] help! how do I install .net 4.5 from my installer ?

2013-09-19 Thread nkshirsagar
Is there any other way to do this apart from the bootstrapper ? I don't want another UI showing up, and I dont want a top level package. -- View this message in context:

Re: [WiX-users] help! how do I install .net 4.5 from my installer ?

2013-09-18 Thread nkshirsagar
Hi, Thanks for the tips. I'm still confused .. The tutorial link you suggested says .. Step 1: Create a bundle for your application Follow the instructions in Building Installation Package Bundles Step 2: Add a reference to one of the .Net PackageGroups Add a reference to WixNetFxExtension to

Re: [WiX-users] Bootstrapper -- Can it be UI-less?

2013-09-18 Thread nkshirsagar
Hi Rob and others on the mailing list! I'm wondering the same thing. I have a minimal UI msi that I've customised slightly with logos and banners. I want this UI to run immediately instead of the first screen that the botstrapper UI shows. (licence agreement, etc). The licence agreement gets

[WiX-users] help! how do I install .net 4.5 from my installer ?

2013-09-17 Thread nkshirsagar
Hello all! I need to check if .net 4.5 is installed on the system, and if not, install it through my MSI. Can someone please give me some pointers on how to achieve this? I am a WIX newbie, so any detailed help will be very useful to me ... I am pasting my .wxs file below .. Thanks,

[WiX-users] help! How do I launch a file upon install ?

2013-09-04 Thread nkshirsagar
Hello folks.. I've looked at http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/run_program_after_install.html to see the proper way to launch an exe that I'm installing after the user clicks the finish button. I've used the minimal gui, but added it as a reference by

Re: [WiX-users] help! How do I launch a file upon install ?

2013-09-04 Thread nkshirsagar
UI Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=LaunchApplicationWIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed/Publish /UI worked for me. I had to remove the -UIRef Id=WixUI_Minimal ilne from it otherwise I was getting redefined

[WiX-users] how to launch one of the files installed after installation ?

2013-09-03 Thread nkshirsagar
Hi folks! Guess its a common problem but everywhere I've looked, the solution seems to be to add something in the UI element. (am looking here http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/run_program_after_install.html) But I've added the minimal UI through the

[WiX-users] visual c++ redist merge modules - how to test ?

2013-08-30 Thread nkshirsagar
Hello folks.. How do I test whether the merge modules for the visual c++ redistributable are succesully installed on the machine ? I did uninstall the visual c++ redist runtime from the target machine and after installing my wix generated msi, seems like things are working well.. but just to

[WiX-users] stop a service before uninstall

2013-08-29 Thread nkshirsagar
I install a windows service as a custom action during the install. During uninstall, I want to remove this service before the filesinUse dialogbox pops up. My condition is REMOVE=ALL for the uninstallation script to run, and I read on

Re: [WiX-users] stop a service before uninstall

2013-08-29 Thread nkshirsagar
Hi Alain, because I register the service through a vb script, and there's some other things the script does before registering it using CreateServiceForApplication and I dont want to make any changes to the script. Is there any way to either terminate the process before uninstall, or make sure

Re: [WiX-users] stop a service before uninstall

2013-08-29 Thread nkshirsagar
Hi John, I'm doing it this way as of now .. InstallExecuteSequence Custom Action=RunInstallScript After=InstallFiles NOT Installed/Custom /InstallExecuteSequence InstallExecuteSequence Custom Action='BeforeUninstall' Before='InstallValidate'Installed AND (NOT

Re: [WiX-users] stop a service before uninstall

2013-08-29 Thread nkshirsagar
I guess its OK for the message to POPup during repair because it restarts the service automatically. just wondering why I could do it this way, but not with REMOVE=ALL condition -- View this message in context: