Re: [WiX-users] seeing if a MSI is running using mutex...

2015-01-27 Thread Phil Wilson
I'll put it this way: I don't understand why you're not passing the string LPCWSTR sczMutexName = LGlobal\\_MSIExecute; into CreateMutex(). Why the StrAllocFormatted call? Also it's only locked during the execute sequence, and I don't know how you're testing it. --- Phil Wilson On

Re: [WiX-users] seeing if a MSI is running using mutex...

2015-01-27 Thread StevenOgilvie
What is the actual MSI mutex? Thanks Steve From: Phil Wilson [via Windows Installer XML (WiX) toolset] Sent: Tuesday, January 27, 2015 12:59 To: StevenOgilvie Subject: Re: seeing if a MSI is running using mutex... It appears that your CreateMutex isn't passing in the actual MSI mutex in

Re: [WiX-users] WiX Installer - Copy folder from DVD to HDD and then run bootstrapper from HDD folder

2015-01-27 Thread Phill Hogland
Sorry, I misunderstood. As for creating the network share, (although it does not sound like the tool would be a wix msi), but if it helps, you could use wix:PermissionEx as a child of CreateFolder to create the folder and set the NT permissions. Use cacls.exe on a system that has such a folder

Re: [WiX-users] seeing if a MSI is running using mutex...

2015-01-27 Thread Phil Wilson
The docs seem to indicate that it's still used, but they also suggest querying the service status to see if it's accepting shutdown commands. https://msdn.microsoft.com/en-us/library/aa372909(v=vs.85).aspx --- Phil Wilson On Tue, Jan 27, 2015 at 9:56 AM, Rob Mensching

Re: [WiX-users] Adjusting result of heat.exe?

2015-01-27 Thread cknoll
The -cg is what you need to get you exactly what you are asking for. I use it myself. http://wixtoolset.org/documentation/manual/v3/overview/heat.html wrote -cg ComponentGroupName Component group name (cannot contain spaces e.g -cg MyComponentGroup). -- View this message in context:

Re: [WiX-users] WiX Installer - Copy folder from DVD to HDD and then run bootstrapper from HDD folder

2015-01-27 Thread Tall Tyke
Hi Phil, Thanks for the reply, but I may not have made it clear why we need to use a folder that the user has decided what it is called. The folder that the “installers” folder is copied to and the installers run from, will be a local folder on the PC for the first user, but then that folder

Re: [WiX-users] seeing if a MSI is running using mutex... [P]

2015-01-27 Thread Steven Ogilvie
Classification: Public There was code from NetFxChainer.cpp (CreateNetFxChainer): hr = StrAllocFormatted(sczName, L%ls_mutex, wzEventName); ExitOnFailure(hr, failed to allocate memory for mutex name); // Create the mutex, we initially own pChainer-hMutex = ::CreateMutex(NULL, TRUE,

[WiX-users] Adjusting result of heat.exe?

2015-01-27 Thread sky
Hi. Is there any way to get .wxs file formed like the following using heat.exe? ?xml ... Wix ... Fragment DirectoryRef Id=INSTALLFOLDER Directory Id=a Directory Id=b / Directory Id=c Directory Id=d / /Directory /Directory /DirectoryRef

[WiX-users] Installing .Net 4.0.3 Prerequisites required for managed bootstrapper

2015-01-27 Thread dscottie
Hi, I'm trying to get Burn to install .Net 4.0.3 - if it is not already installed - prior to kicking off my managed bootstrapper, which itself specifically requires 4.0.3 to run properly. I've included PackageGroupRef Id=NetFx40Web / in my bundle, and that works fine in general and installs

Re: [WiX-users] Using Lux and Nit

2015-01-27 Thread Phill Hogland
I'm sorry for the delay in getting back to this subject, but since I just coded up my first semi-custom action (into a CompilerExtension) I wanted to see if I could also understand how to use lux. While I have wix 3.9 RC2 installed, I am getting the same nit errors (NIT8104) posted before. I

Re: [WiX-users] Using Lux and Nit

2015-01-27 Thread Phill Hogland
I realized that I should be using 3.10 to pick up the fix for nit. I installed 3.10.1124.0, but get the same errors, with the same message in the msi log. SFXCA: Failed to get requested CLR info. Error code 0x80131700 -- View this message in context:

Re: [WiX-users] seeing if a MSI is running using mutex... [P]

2015-01-27 Thread Phil Wilson
Now I look closer, I think you're missing something. CreateMute() by itself isn't sufficient. You have to attempt to get it. The code I've used also has a WaitForSingleObject to try to own the mutex: hMutex = CreateMutex(sa, FALSE, TEXT(Global\_MSIExecute)); . dwError =

[WiX-users] Wix License

2015-01-27 Thread ak m
Dear All, We are planning to use Wix and develop installers in our company. Is there any licensing issue? I know Wix is an open source, but to be in safer, wants to know the details. Anyone please let me know. Thank you... Best Wishes, Anil

Re: [WiX-users] Wix License

2015-01-27 Thread Kraygsoft
Anil Yes. You are not giving anybody WiX you are giving them the result. In the same way that it makes no difference what tool you use to create an EXE or a DLL. I had a few of my customers confused by the fact that we were using an open source tool but the key word is tool. The result of that

Re: [WiX-users] Need help to insert custom dialog into the sequence. [P]

2015-01-27 Thread Steven Ogilvie
Classification: Public I created two custom dialog called TITUS_WelcomeDlg.wxs and Titus_ VerifyReadyDlg.wxs I added it to my product project, then in the UI I did this: !-- Set up the UI for the installer -- UIRef Id=WixUI_ServerInstallDir/ Property Id=WIXUI_INSTALLDIR

Re: [WiX-users] Wix License

2015-01-27 Thread Pally Sandher
See http://robmensching.com/blog/posts/2012/8/20/the-wix-toolset-license/ 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

Re: [WiX-users] Adjusting result of heat.exe?

2015-01-27 Thread Pally Sandher
See http://wixtoolset.org/documentation/manual/v3/overview/heat.html The -t parameter allows you apply an XSLT to post-process the generated XML. Palbinder Sandher Software Platform Engineer T: +44 (0)141 945 8500 F: +44 (0)141 945 8501 http://www.iesve.com Integrated Environmental

[WiX-users] seeing if a MSI is running using mutex...

2015-01-27 Thread StevenOgilvie
Hi all, Trying to create a method to detect if ANY MSI is running and if so halt bootstrapper... I am doing this in C++ I get a successful mutex, but it always returns ERROR_SUCCESS, what am I doing wrong? thanks Steve HANDLE ghMutex = NULL; LPCWSTR sczVerifyMSIRunningVariableSet = L0; LPWSTR

Re: [WiX-users] WiX Installer - Copy folder from DVD to HDD and then run bootstrapper from HDD folder

2015-01-27 Thread Phill Hogland
When you create a bundle with a chain of packages, whether they are run from a DVD or some other source, they are by default cached in a secure location on the PC, and the original media is no longer needed by subsequent users. Why reinvent the wheel? (You can also disable caching on a per

Re: [WiX-users] Adjusting result of heat.exe?

2015-01-27 Thread Tunney, Stephen
Here's a little diddy I wrote up for the JDK. Some minor modifications will be required. There are two files JDK.HeatTx.xsl ?xml version=1.0 encoding=utf-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:wix=http://schemas.microsoft.com/wix/2006/wi;

Re: [WiX-users] Need help to insert custom dialog into the sequence.

2015-01-27 Thread ssmsam
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7599030/inside_msi.png samp -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Need-help-to-insert-custom-dialog-into-the-sequence-tp7599028p7599030.html Sent from the wix-users

[WiX-users] Need help to insert custom dialog into the sequence.

2015-01-27 Thread ssmsam
Hi, I have created a simple custom dialog using wixedit. i copied the UI/UI part into my product.wxs file. Here is my code to insert this new custom dialog. Product UIRef Id=MyUI / UI Dialog Id=dlgdummy Width=370 Height=270 Control Type=Text Id=txtDummy

[WiX-users] WiX Installer - Copy folder from DVD to HDD and then run bootstrapper from HDD folder

2015-01-27 Thread Tall Tyke
I currently have a bootsrapper exe and a msi (the latter rarely changes, but the former gets updated regularly), both written in WiX 3.9 and we now have a request to make the install process even easier for the user, so I was wondering if the following scenario is possible ?! The DVD folder

Re: [WiX-users] Need help to insert custom dialog into the sequence.

2015-01-27 Thread ssmsam
Could anyone help me please? I tried with both the approaches without success and searched lot over the internet for the same but no luck. Regards, Sampat -- View this message in context:

Re: [WiX-users] seeing if a MSI is running using mutex...

2015-01-27 Thread Rob Mensching
I could be wrong but I thought MSI stopped using the mutex a couple versions ago. _ Short replies here. Complete answers over there: http://www.firegiant.com/ -Original Message- From: StevenOgilvie [mailto:sogil...@msn.com]

Re: [WiX-users] seeing if a MSI is running using mutex...

2015-01-27 Thread Phil Wilson
It appears that your CreateMutex isn't passing in the actual MSI mutex in sczMutexName . --- Phil Wilson On Tue, Jan 27, 2015 at 7:51 AM, StevenOgilvie sogil...@msn.com wrote: Hi all, Trying to create a method to detect if ANY MSI is running and if so halt bootstrapper... I am

Re: [WiX-users] Wix License

2015-01-27 Thread ak m
Thanks Pally Sandher. We are creating MSI packages, we are not modifying any Wix source code, just using the wix framework to create packages. Can we distribute these MSI packages for commercial purpose? Could you please let me know about this? On Tue, Jan 27, 2015 at 8:46 PM, Pally Sandher

Re: [WiX-users] Installing .Net 4.0.3 Prerequisites required for managed bootstrapper

2015-01-27 Thread Bob Arnson
On 27-Jan-15 04:52, dscottie wrote: I'm trying to get Burn to install .Net 4.0.3 - if it is not already installed - prior to kicking off my managed bootstrapper, which itself specifically requires 4.0.3 to run properly. You need to use WiX v3.9 to get ExePackage/@PrereqSupportPackage to