Re: [WiX-users] Configuring service being installed fails during silent upgrade (but passes when UI is enabled)

2012-03-09 Thread Sameer Arora
Ping... Appreciate all suggestions and pointers. On Wed, Feb 8, 2012 at 11:08 AM, Sameer Arora arora...@gmail.com wrote: Hi, I have a WiX 3.5 project that installs and starts a windows service and thereafter executes a custom action to configure the service using command line utility sc.exe

[WiX-users] Configuring service being installed fails during silent upgrade (but passes when UI is enabled)

2012-02-08 Thread Sameer Arora
Hi, I have a WiX 3.5 project that installs and starts a windows service and thereafter executes a custom action to configure the service using command line utility sc.exe that ships with the OS. This MSI can be used both for fresh install or major upgrade. It uses custom dialogs to capture user

Re: [WiX-users] Optionally keep a file on MajorUpgrade

2012-02-08 Thread Sameer Arora
I had a similar requirement, but not exactly. In my case - config file was getting generated instead of being installed (it's more like data file rather than config file) - we needed to keep the file mandatorily during an upgrade/repair, but remove it on uninstall. Since it was a generated file,

Re: [WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-22 Thread Sameer Arora
If the requirement was to invoke elevation prompt for both install and uninstall (be it in from Program and Features or through the Maintenance mode) will this work?: add this condition somewhere in the Product scope Condition Message=Admin privileges requiredPrivileged/Condition I understand

[WiX-users] Deny permissions using Permission

2011-09-23 Thread Sameer Arora
I need to ACL the installation folder so that only the user who is installing or admins have access to the folder and its sub-hierarchy. I have tried the following: Component Id=C_SetPermissionOnTARGETDIRFolder Guid={...} CreateFolder Directory=TARGETDIR Permission

Re: [WiX-users] UI Sequence table in for advertised-shortcut triggered repair

2011-08-28 Thread Sameer Arora
did use InstallUtilLib.dll to install the windows service. But now we have switched to using ServiceControl and ServiceInstall WiX elements. On Sun, Aug 28, 2011 at 7:30 PM, Bob Arnson b...@joyofsetup.com wrote: On 28-Aug-11 17:31, Sameer Arora wrote: Why is UI sequence table missing

[WiX-users] Preserve generated files on MajorUpgrade, but remove on uninstall

2011-08-25 Thread Sameer Arora
Hi, I have defined a component to cleanup a generated (not part of msi) file on uninstall but leave intact on a major upgrade after reading this post http://stackoverflow.com/questions/488620/wix-major-upgrade Component Id=C_RemoveOnUninstall Guid=XXX ConditionREMOVE=ALL AND NOT

Re: [WiX-users] Best effort uninstallation ?

2011-08-08 Thread Sameer Arora
to uninstall would restore the missing files, if you have access to the original MSI. If you have customers that are deleting files in the Windows directory, it would be best to discourage them :) -Original Message- From: Sameer Arora [mailto:arora...@gmail.com] Sent: 22 July 2011 00

[WiX-users] MajorUpgrade: Setting AllowSameVersionUpgrades=yes leads to ICE61

2011-08-08 Thread Sameer Arora
With the code below, if the product code changes but version does not change at all (including the 4th element), I endup with multiple installations of the same product since product code is different in each new MSI. If however, I change AllowSameVersionUpgrades to yes I am faced with

Re: [WiX-users] MajorUpgrade: Setting AllowSameVersionUpgrades=yes leads to ICE61

2011-08-08 Thread Sameer Arora
Thanks much. Suppressing works great. On Mon, Aug 8, 2011 at 8:53 PM, Bob Arnson b...@joyofsetup.com wrote: On 08-Aug-11 20:47, Sameer Arora wrote: If however, I change AllowSameVersionUpgrades to yes I am faced with compilation error below: The ICE error is trying to tell you

Re: [WiX-users] MajorUpgrade: Setting AllowSameVersionUpgrades=yes leads to ICE61

2011-08-08 Thread Sameer Arora
Suppressing the ICE worked. Thanks much! On Mon, Aug 8, 2011 at 8:53 PM, Bob Arnson b...@joyofsetup.com wrote: On 08-Aug-11 20:47, Sameer Arora wrote: If however, I change AllowSameVersionUpgrades to yes I am faced with compilation error below: The ICE error is trying to tell you

Re: [WiX-users] Best effort uninstallation ?

2011-08-08 Thread Sameer Arora
the default credentials and will need to be reconfigured with the account, but you will at least get a successful repair. That's assuming you changed the service logon credentials after install. Phil Wilson -Original Message- From: Sameer Arora [mailto:arora...@gmail.com] Sent

[WiX-users] Windows Service Repair failing on lack of permissions + how to detecting repair mode ?

2011-07-07 Thread Sameer Arora
Hello, Our WIX setup installs a windows service after asking logon account through a custom UI dialog.. The service starts after installation succeeds. Entire setup requires elevated privileges. Hoping for any pointers regarding couple of questions: *Question 1* On attempting Repair from

Re: [WiX-users] How to: dynamically decide registry path to write to based on OS architecture

2011-06-29 Thread Sameer Arora
registry locations. Edwin G. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail -Original Message- From: Sameer Arora [mailto:arora...@gmail.com] Sent

[WiX-users] WiX noob: Starting an exe after installation.

2011-06-29 Thread Sameer Arora
What am I missing ? I would like the setup to launch my UI application after installation completes successfully. My .wxs files are modularized as: *InstallSequences.wxs* Fragment InstallExecuteSequence .. Custom Action=LaunchAppCA After='InstallFinalize'NOT Installed/Custom ..

[WiX-users] How to: dynamically decide registry path to write to based on OS architecture

2011-06-28 Thread Sameer Arora
Hi, I need a way decide the registry path to write to based on the OS architecture the installer is installing on. E.g: If OS is x64 bit create a registry key under HKLM\SOFTWARE\WoW6432Node\MyCompany otherwise write to create a registry key under HKLM\SOFTWARE\MyCompany To achieve this, I

Re: [WiX-users] Redist an external MSI

2011-06-23 Thread Sameer Arora
Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Sameer Arora [mailto:arora...@gmail.com] Sent: 22 June 2011 00:05 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Redist an external MSI Hi, I am totally new to WiX, Setup world

[WiX-users] Redist an external MSI

2011-06-21 Thread Sameer Arora
Hi, I am totally new to WiX, Setup world and have just converted a Visual Studio setup project to WiX using dark. Now I need to redist an external MSI as part of our converted WiX setup. Any pointers how I should go about this would really help: - Are there any WiX redist samples I could learn

[WiX-users] Custom Actions during/post install and uninstall

2011-03-04 Thread Sameer Arora
Am reading the tramontana tutorial - one of the best online I have to say. Just need some clarification from WIX practitioners about custom actions (in C# preferably): - Can one perform custom actions during and post installation and uninstallation ? - I guess custom action post uninstall may not