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

2014-03-28 Thread Suryadeep Biswal
Would this work? You do know the process name correct? > > http://wixtoolset.org/documentation/manual/v3/xsd/util/closeapplication.html > > Carter > > Quoting Suryadeep Biswal : > > > This is an external process and we do not have any control over it. > > we ar

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

2014-03-28 Thread Suryadeep Biswal
nager before installing the SQL Server Product, thus > minimizing the chance of a reboot. Having 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

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

2014-03-28 Thread Suryadeep Biswal
If you are running bat files or the > equivalent and you have anyone that can code, write something that > calls the Win32 API MsiInstallProduct. When it returns 3010 it means a > reboot was required but it was suppressed by (usually) a command line > that said suppress reboots (s

[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 o

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

2014-02-18 Thread Suryadeep Biswal
;s not clear to me > that other entries in the log mean that there is a bug anywhere. > --- > Phil Wilson > > > On Mon, Feb 17, 2014 at 1:09 PM, Suryadeep Biswal > wrote: > > The exit code seems to be 0. > > Action ended 15:51:3

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

2014-02-17 Thread Suryadeep Biswal
isn't or not > rebooting but you think it should. > > You shouldn't need a ScheduleReboot action 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. > --

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

2014-02-17 Thread Suryadeep Biswal
asking (it is silent, > after all) so a verbose log might be useful in the case that it > appears a reboot is needed but doesn't happen. > --- > Phil Wilson > > > On Sat, Feb 15, 2014 at 12:03 PM, Suryadeep Biswal > wrote: > > Hi, > > I need

[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. Wh

[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 – The MSI performs a variety of things including GACing, writing to registry and also includes a custom action which is used to install a kernel m

[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 exclusi

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
reObject' > 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 > &

[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 – http://schemas.microsoft.com/wix/UtilExtension"; Use

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

2013-10-31 Thread Suryadeep Biswal
> program? By a command prompt? It doesn't get used when you run something? > > http://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 > wrote: > > > Hi,

[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 tha

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
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.sour

[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

[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 uninstallat

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:

[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 However,

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.ne

[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) (50!38

[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-13 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

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] 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

[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 and , I am able