Re: [WiX-users] Windows service doesn't remove from services.msc in windows 8 using WIX shortcut (C#)

2015-06-24 Thread Manoj Rawat
> > Hi, > > I created shortcut for my windows service . When I uninstall the windows > service using shortcut then it removes service from startup menu, But I was > able to see the window service in services.msc tool (Note: it throws error > when I try to start\stop the particular win service ). If

[WiX-users] Not to create key under HKCU path in the registry

2015-06-24 Thread Manoj Rawat
Hi, My requirement is, not to create a key under HKCU path by WIX installer. Can you please let me know how to avoid default path(HKCU) in the registry? ** http://schemas.microsoft.com/wix/2006/wi";>

[WiX-users] Determining database permissions from custom bootstrapper / UAC issue

2015-06-24 Thread Henning Krause
Hi, I've created a custom managed bootstrapper using Burn which executes an MSI during the install phase. This MSI installs/configures a database. During the UI phase I'm currently using this SQL statement to determine whether I'm allowed to create a database: SELECT COUNT(*) FROM fn_my_permis

[WiX-users] Why does a patch build include same versioned dlls?

2015-06-24 Thread Jakob Ziegler
Hi it always bugged me, that creating a patch either with wix or with the msimsp patch creation includes dlls which are binary different, but have the same version (or where the upgraded installer has a lower version). When said patch is installed on top of the targeted product, those dlls will n

Re: [WiX-users] Why does a patch build include same versioned dlls?

2015-06-24 Thread Pally Sandher
See https://msdn.microsoft.com/en-us/library/aa368599.aspx Palbinder Sandher Software Platform Engineer T: +44 (0)141 945 8500 F: +44 (0)141 945 8501 http://www.iesve.com Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, Wes

Re: [WiX-users] Why does a patch build include same versioned dlls?

2015-06-24 Thread David Watson
If you allow the tools to decide what is in your patch it ultimately does a binary comparison to see what has changed between versions and includes them if there is any difference. You would need to dig into the patch building tools to implement an override of this behaviour to examine the vers

[WiX-users] StrAllocSecure fails in AlocHelper - advice in understanding why.

2015-06-24 Thread Phill Hogland
I am trying to use StrAllocSecure to insure that an LPWSTR has sufficient buffer size to subsequently try and copy a CRYPT_INTEGER_BLOB structure's buffer into the LPWSTR, for the purpose of passing this to WcaAdd

[WiX-users] Determining database permissions from custom bootstrapper / UAC issue

2015-06-24 Thread Henning Krause
Hi, I've created a custom managed bootstrapper using Burn which executes an MSI during the install phase. This MSI installs/configures a database. During the UI phase I'm currently using this SQL statement to determine whether I'm allowed to create a database: SELECT COUNT(*) FROM fn_my_permis

Re: [WiX-users] Not to create key under HKCU path in the registry

2015-06-24 Thread Nir Bar
Specify a different Root attribute? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/

Re: [WiX-users] StrAllocSecure fails in AlocHelper - advice in understanding why.

2015-06-24 Thread Nir Bar
The log message should indicate the requested cch value. Also note that E_OUTOFMEMORY can be returned on two different flows in the function. Since the log message is slightly different you can tell which of these failed. Have you initialized your LPWSTR variable to NULL? - Nir Bar Freelan

Re: [WiX-users] Windows service doesn't remove from services.msc in windows 8 using WIX shortcut (C#)

2015-06-24 Thread Nir Bar
Sometimes Windows marks a service for deletion after restart. In this case you would see the service in the services UI until after restart. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & Instal

Re: [WiX-users] Reboot required during major upgrade in-between uninstall and re-install

2015-06-24 Thread Nir Bar
You may be able to schedule RemoveExistingProducts after InstallExecute if you adhere to component rules . This will perform the uninstall after the reinstall and reboot on installation end. - Nir Bar Freelance Developer M

Re: [WiX-users] StrAllocSecure fails in AlocHelper - advice in understanding why.

2015-06-24 Thread Phill Hogland
Stepping into the code posted, the cch was 165 (and in other experiments when I increased the initialized size that I was requesting for the buffer, up to 195) , in all cases it was much less than >= MAXDWORD / sizeof(WCHAR), yet stepping through the code in a debugger, it steps into the code poste

Re: [WiX-users] Windows service doesn't remove from services.msc in windows 8 using WIX shortcut (C#)

2015-06-24 Thread Phil Wilson
Your ServiceInstall says Name="TestWindowService" but your ServiceControl says Name="TestWindowService.exe", so if the name is actually TestWindowService your ServiceControl isn't going to do anything with it. That's why you get the error and probably the other unexpected behvior too. -