[WiX-users] Manually scheduling a Machine Reboot during MSI Major Upgrade

2014-03-28 Thread Suryadeep Biswal
Hi, We use MSI Major Upgrade to update our products on servers. In the light of some recent failures during upgrade, we have been working towards hardening our installation package so that a reboot can be scheduled in the worst case. I have been looking at various Installer properties/actions

Re: [WiX-users] Manually scheduling a Machine Reboot during MSI Major Upgrade

2014-03-28 Thread Suryadeep Biswal
reboots (see REBOOT property), same with the msiexec exit code. http://msdn.microsoft.com/en-us/library/aa376931(v=vs.85).aspx --- Phil Wilson On Fri, Mar 28, 2014 at 11:40 AM, Suryadeep Biswal surya6...@hotmail.com wrote: Hi, We use MSI Major Upgrade to update our

Re: [WiX-users] Manually scheduling a Machine Reboot during MSI Major Upgrade

2014-03-28 Thread Suryadeep Biswal
used the installer multiple times, I can state that I've never had to perform a reboot after installing SQL Server, because the Services are stopped and started in such a way that a reboot isn't needed. Carter Quoting Suryadeep Biswal surya6...@hotmail.com: Thank you the detailed

Re: [WiX-users] Manually scheduling a Machine Reboot during MSI Major Upgrade

2014-03-28 Thread Suryadeep Biswal
the process name correct? http://wixtoolset.org/documentation/manual/v3/xsd/util/closeapplication.html Carter Quoting Suryadeep Biswal surya6...@hotmail.com: This is an external process and we do not have any control over it. we are in talks with the process owners to see why

Re: [WiX-users] Scheduling a system reboot on restart manager failure

2014-02-18 Thread Suryadeep Biswal
. --- Phil Wilson On Mon, Feb 17, 2014 at 1:09 PM, Suryadeep Biswal surya6...@hotmail.com wrote: The exit code seems to be 0. Action ended 15:51:30: INSTALL. Return value 1.MSI (s) (60:04) [15:51:30:358]: Note: 1: 1707 MSI (s) (60:04) [15:51:30:358]: Product: -- Installation completed

Re: [WiX-users] Scheduling a system reboot on restart manager failure

2014-02-17 Thread Suryadeep Biswal
. --- Phil Wilson On Sat, Feb 15, 2014 at 12:03 PM, Suryadeep Biswal surya6...@hotmail.com wrote: Hi, I need some help with coordinating a system reboot with specific restart manager error codes during a major upgrade of a MSI.To be more specific - 1. Suppose A.dll

Re: [WiX-users] Scheduling a system reboot on restart manager failure

2014-02-17 Thread Suryadeep Biswal
if Windows is going to do one anyway, but I was thinking that a ScheduleReboot (at the end) with a condition of ReplacedInUseFile might be a useful test. --- Phil Wilson On Mon, Feb 17, 2014 at 11:43 AM, Suryadeep Biswal surya6...@hotmail.com wrote: Thank you for the pointers

[WiX-users] Scheduling a system reboot on restart manager failure

2014-02-15 Thread Suryadeep Biswal
Hi, I need some help with coordinating a system reboot with specific restart manager error codes during a major upgrade of a MSI.To be more specific - 1. Suppose A.dll, a binary which is installed by the MSI (and is upgraded by higher versions) is loaded into memory by several processes.2.

[WiX-users] Custom Action Issue during MSI installation rollback

2014-01-09 Thread Suryadeep Biswal
We ship a MSI which supports upgrades. We schedule the RemoveExistingProducts custom action after InstallInitialize using MajorUpgrade element – MajorUpgrade Schedule=afterInstallInitialize AllowDowngrades=yes / The MSI performs a variety of things including GACing,

[WiX-users] Scheduling a custom action between two other CA.

2013-11-18 Thread Suryadeep Biswal
Is there a way to schedule a custom action between two other custom actions? For example, I have a custom action say CreateUserGroups which needs to be scheduled after “InstallFiles” but before “WriteRegistryValues”. Since “Before” and “After” attributes in the Custom element are mutually

Re: [WiX-users] error CNDL0001 : Cannot set column 'SecureObject' with a null value because this is a required field

2013-11-11 Thread Suryadeep Biswal
' with a null value because this is a required field On 09-Nov-13 19:36, Suryadeep Biswal wrote: I am getting an System.InvalidOperationException while compiling a WXS file with util:PermissionEx element under RegistryKey element. I am using WIX build 3.6.3303.0. Known bug that was fixed in WiX

[WiX-users] error CNDL0001 : Cannot set column 'SecureObject' with a null value because this is a required field

2013-11-09 Thread Suryadeep Biswal
Hi, I am getting an System.InvalidOperationException while compiling a WXS file with util:PermissionEx element under RegistryKey element. I am using WIX build 3.6.3303.0. These are the elements – RegistryKey Root=HKLM Key=SOFTWARE\MyProject RegistryValue Name=Root

[WiX-users] Environment Variable Changes by MSI are not reflected

2013-10-31 Thread Suryadeep Biswal
Hi, Our MSI uses the inbuilt Environment WIX element to add a directory to PATH variable. We are seeing an issue on Windows Blue/8.1 where this does not get reflected until the user logs off and logs on. Is this a known issue? Are there any alternatives to set the environment variable other

Re: [WiX-users] Environment Variable Changes by MSI are not reflected

2013-10-31 Thread Suryadeep Biswal
://superuser.com/questions/351279/adding-a-directory-to-user-path-doesnt-work Phil Wilson On Thu, Oct 31, 2013 at 11:53 AM, Suryadeep Biswal surya6...@hotmail.comwrote: Hi, Our MSI uses the inbuilt Environment WIX element to add a directory to PATH variable. We are seeing

[WiX-users] Force Uninstallation of a MSI

2013-10-24 Thread Suryadeep Biswal
Hi, On one of our machines, an uninstallation step fails resulting in rollback of the entire process. I am looking for a way to force uninstall a MSI (it would be okay if some of the MSI bits remain after the uninstallation). Is anyone aware of a way (or a tool) to do such force

[WiX-users] Need help with the error A DLL required for this install to complete could not be run

2013-10-24 Thread Suryadeep Biswal
Hi, During uninstallation path, Our MSI executes a custom action say RemoveXX which executes RemoveYY method from the dll MyDLL. This custom action is scheduled before “RemoveFiles” in Install Execute sequence. The MSI been tested many times over the past 6 months and has always worked without

Re: [WiX-users] Need help with the error A DLL required for this install to complete could not be run

2013-10-24 Thread Suryadeep Biswal
, perhaps it has been moved before the removefiles sequence (which is sequence order 3500)? Steve -Original Message- From: Suryadeep Biswal [mailto:surya6...@hotmail.com] Sent: October-24-13 3:24 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Need help with the error

Re: [WiX-users] Error -2147418113 during RollbackUnregisterPerfCounterData

2013-09-08 Thread Suryadeep Biswal
WIX 3.6 . From: os...@live.com To: wix-users@lists.sourceforge.net Date: Sun, 8 Sep 2013 21:15:27 -0700 Subject: Re: [WiX-users] Error -2147418113 during RollbackUnregisterPerfCounterData What version of WiX toolset are you using? From: surya6...@hotmail.com To:

Re: [WiX-users] Error -2147418113 during RollbackUnregisterPerfCounterData

2013-09-03 Thread Suryadeep Biswal
Re-sending due to lack of responses. Unfortunately, i have not been able to figure out a solution for this problem. I am not sure about the owner of the custom action as well. Any help/solutions will be appreciated. Regards,Surya From: surya6...@hotmail.com To: wix-users@lists.sourceforge.net

[WiX-users] Replacing util:PerfCounter with util:PerformanceCounter

2013-09-03 Thread Suryadeep Biswal
Hi, We have a PERFMON INI file for installing performance counters and this is used with the util:PerfMon element for installing these performance counters by following all the instructions documented here - http://wixtoolset.org/documentation/manual/v3/customactions/perfmon.html

[WiX-users] Error -2147418113 during RollbackUnregisterPerfCounterData

2013-08-29 Thread Suryadeep Biswal
Hi, We are seeing this error in RollbackUnregisterPerfCounterData Custom Action while using the MSI to roll back to a previous version. MSI (s) (50:40) [15:44:35:164]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI19FD.tmp, Entrypoint: UninstallPerfCounterData MSI (s)

[WiX-users] Dependent DLLs of a Custom Action Binary are not getting loaded properly

2013-08-15 Thread Suryadeep Biswal
Hi, I have a Type 17 Custom Action in my wxs file. The Custom Action dll depends on another dll that is in the same directory. However, i see that runtime does not load the dependent dll and as a result loading of the Custom Action fails with error 1157 (One of the library files needed to run

[WiX-users] Detecting if a Service is installed in WIX

2013-08-14 Thread Suryadeep Biswal
Hi, I am looking to put a check in my wxs file to detect if a windows service is installed and if not fail the installation. Is there any in-built support to achieve this (other than a Custom Action) ? Regards,Surya

[WiX-users] Adding Downgrade support to MSI

2013-08-02 Thread Suryadeep Biswal
Hi, I have been trying to add Downgrade support to our MSI. I know Uninstall/Re-install is preferred over this, but this is needed for automated deployments and is specially helpful for our zero-downtime product upgrades across multiple machines. So the requirement is that any version can be

Re: [WiX-users] Adding Downgrade support to MSI

2013-08-02 Thread Suryadeep Biswal
No, the binaries are specific to a product only and will never be distributed by any other product. From: os...@live.com To: wix-users@lists.sourceforge.net Date: Fri, 2 Aug 2013 20:05:21 -0700 Subject: Re: [WiX-users] Adding Downgrade support to MSI Are/will any of the binaries you

[WiX-users] Need help in updating permission of a registry key

2010-10-14 Thread Suryadeep Biswal
Hi, I have an existing registry key \HKLM\Software\Microsoft\SystemCertificates. I need to grant the account Network Service read access on this key. Currently I cannot find a way to solve this. Here are the things I have tried so far: 1. Using the WIX in-built tags RegistryKey and