Re: [WiX-users] Error 1923 - Service fails to install during upgrade

2013-06-24 Thread Blair Murri
Per http://msdn.microsoft.com/library/windows/desktop/aa379570.aspx the owner sid would be prefixed with an O: which I don't see in your string. > From: sandi...@microsoft.com > To: heath.stew...@microsoft.com; wix-users@lists.sourceforge.net > Date: Mon, 24 Jun 2013 21:32:14 + > CC: vita...

Re: [WiX-users] Patching multiple versions

2013-06-24 Thread Blair Murri
There are ways but Major Version Patches are officially discouraged (see MSDN). > Date: Sun, 23 Jun 2013 21:41:45 -0700 > From: nickra...@hotmail.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Patching multiple versions > > Actually, trying my idea didn't work for me. It ma

Re: [WiX-users] Can't understand util:RegistrySearch's behavior

2013-06-24 Thread Blair Murri
32-bit code finds HKLM\SOFTWARE\Wow6432Node\Microsoft\DevDiv\vs\Servicing\11.0 at HKLM\SOFTWARE\Microsoft\DevDiv\vs\Servicing\11.0 (because HKLM\SOFTWARE\Microsoft\DevDiv\vs\Servicing\11.0 would be considered a 64-bit registry area). Start here to understand some of this: http://msdn.microsof

Re: [WiX-users] Multi-platform installer with WiX

2013-06-24 Thread Ivo Beltchev
I see. That's a good point. So I wrote me a quick program to compare the two full MSIs (the 32-bit and 64-bit) and to search for the longest chunk that's common between the two. It finds a piece that is about the size of the shared cab. It happens to be at the same offset in both files, which was

Re: [WiX-users] Multi-platform installer with WiX

2013-06-24 Thread Bob Arnson
On 24-Jun-13 23:32, Ivo Beltchev wrote: > Which part is the problem? The embedding of the CAB or the mucking with the > Media table? Any change invalidates the signature. -- sig://boB http://joyofsetup.com/ -- This SF.n

Re: [WiX-users] Multi-platform installer with WiX

2013-06-24 Thread Ivo Beltchev
Which part is the problem? The embedding of the CAB or the mucking with the Media table? If it is the second part, maybe I can build the MSIs initially with embedded CABs, then delete them from the streams. This way the Media table will stay unchanged. -Original Message- From: Bob Arnson [

Re: [WiX-users] Multi-platform installer with WiX

2013-06-24 Thread Bob Arnson
On 24-Jun-13 14:44, Ivo Beltchev wrote: > When the installer runs it extracts one of the MSIs and the shared cab. Then > with some database voodoo from msi.dll I embed the shared cab into the MSI > and change the Cabinet field in the Media table to start with #. This marks > it as internal. That br

Re: [WiX-users] Custom Action ALWAYS with admin rights

2013-06-24 Thread Bob Arnson
On 24-Jun-13 14:17, Lukas Haase wrote: > Custom actions after InstallFinalize cannot run elevated. -- sig://boB http://joyofsetup.com/ -- This SF.net email is sponsored by Windows: Build for Windows Store. http://

[WiX-users] SchedSecureObjectsRollback error

2013-06-24 Thread dsiswadi
I'm reading my installer log, there are error lines (bolded) that steal my attention : Action start 11:45:30: UnpublishFeatures. Action ended 11:45:30: UnpublishFeatures. Return value 1. MSI (s) (94:08) [11:45:30:823]: Doing action: SchedSecureObjectsRollback Action start 11:45:30: SchedSecureObje

Re: [WiX-users] Error 1923 - Service fails to install during upgrade

2013-06-24 Thread Sandip Shahane
Hey thanks for this information! Here is the sdshow result for the service i.e. if I am reading it right localsystem, built-in admins, interactive users, service logon user has permissions on it, right? Don't see the SID trusted installer (please correct me if I am missing anything here). D:(

Re: [WiX-users] Custom Action ALWAYS with admin rights

2013-06-24 Thread David Connet
Is the CA immediate or deferred? A quick test (printf("%d\n", IsUserAnAdmin());) on my Win7 system shows IsUserAnAdmin (I am) returns false in a normal cmd shell. But if I elevate, then it's true. (This implies your CA is immediate). Dave From: Lukas Haase

Re: [WiX-users] Multi-platform installer with WiX

2013-06-24 Thread Ivo Beltchev
No, my bootstrapper is an EXE, not MSI. If you call it directly it will create the correct MSI and then launch it. You can also call it with "extract32" or "extract64", which will just extract the correct MSI and you can do whatever you want with it. The EXE does other things as well, like calculat

Re: [WiX-users] Multi-platform installer with WiX

2013-06-24 Thread Nick Ramirez
You're embedding an MSI inside an MSI? Wouldn't Burn work out better? A Burn bundle can embed all of its resources into a setup executable. Will upgrades still function correctly using an embedded MSI? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.co

Re: [WiX-users] Multi-platform installer with WiX

2013-06-24 Thread Ivo Beltchev
I think I found a solution that works. For both MSIs I split the files into 2 media elements - one embedded and one external (for the shared files). Then I build both MSIs and compare the external CABs to verify they are identical. When the installer runs it extracts one of the MSIs and the shared

[WiX-users] Installing a ExePackage with many payloads

2013-06-24 Thread nianderneves
Hello, I need to install an ExePackage in my bundle with many payloads, like 200. This package is a program that I need to install, like a dependence for my product. But the setup of this program is just an .exe file very small, the files that will be install isn't compressed in a container like .

[WiX-users] Custom Action ALWAYS with admin rights

2013-06-24 Thread Lukas Haase
Hi, I have a custom action in a DLL. If I check admin rights in the DLL with IsUserAnAdmin it returns FALSE! The wxs file makes sure that installation can only run with admin privs: Privileged The custom action is included via: NOT Installed The UpdateInstall.dll exports UpdateInstal

Re: [WiX-users] Heat.exe not including all references/dependencies

2013-06-24 Thread Tom -
Thank you so much, Philippe and Blair. I've changed "-gg" to "-ag", per your prompt suggestion, and I've created a new solution configuration that seems to put everything into one folder and the resulting installation package looks like it now includes every necessary file. Best Regards, Tom

[WiX-users] seting folder permissions through registry

2013-06-24 Thread Chaitanya Sanapala [PC-BLR-DEV]
Hi, I want set permissions to Folder.Ex:- user installed ,Apache software,But we don't know the Path Where the user installed Tomcat. I need to fetch the information from registry and assign permissions to Tomcat folder. Any suggestions are acceptable thanks & Regards, Chaitanya. --

[WiX-users] Registry Key for Licensing

2013-06-24 Thread Lukas Haase
Hi, For my application, I use software activation. However, in case they activation fails, the software should work for 14 days after installation (grace period). While I know it is difficult to protect this it should at least not be circumvented by simple re-installation. What is the best proce