[WiX-users] Digitally Signing a Bootstrapper by hand

2012-10-25 Thread Marc Wandschneider
hello! I'm building a Bootstrapper WiX setup system with shell scripts (not using VS), and struggling to get the setup going completely. I hope somebody can shed some light on the process: Here is my process: i. I have a (signed) EXE in my project. I build an MSI for this with MyProduct.wxs ii

Re: [WiX-users] Assertion failure when running heat.

2012-10-25 Thread Rob Mensching
I expect that assertion is coming from your DLL. WiX toolset doesn't have a file named "dllsetup.cpp" AFAIK. On Thu, Oct 25, 2012 at 6:26 PM, Hoover, Jacob wrote: > Use the debug binaries/pdb's from http://wixtoolset.org/ and hit Cancel. > That will give you VS with a call stack at the point of a

Re: [WiX-users] Major upgrade stops working after doing small changes and switching to 3.6

2012-10-25 Thread Rob Mensching
Burn does support scenario B, elevating only if necessary. On Thu, Oct 25, 2012 at 6:19 PM, Hoover, Jacob wrote: > Only thing I can think of is to: > A) privately deploy the VC runtime in your app folder, which leaves your > app open to exploit > B) Deploy the runtime as a prerequisite and el

Re: [WiX-users] Assertion failure when running heat.

2012-10-25 Thread Hoover, Jacob
Use the debug binaries/pdb's from http://wixtoolset.org/ and hit Cancel. That will give you VS with a call stack at the point of assertion. You should be able to tell what heat is harvesting. A wild guess tells me that DLLRegisterServer or DLLUnregisterServer is not returning a success status c

Re: [WiX-users] Occasional rundll32 error with OLE .NET custom actions

2012-10-25 Thread Hoover, Jacob
If you can reproduce it in a test environment, I would assume you can turn on verbose logging for all of SQL server and then attempt to capture it from the logs they generate. -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Thursday, October 25, 2012 4:

Re: [WiX-users] Major upgrade stops working after doing small changes and switching to 3.6

2012-10-25 Thread Hoover, Jacob
Only thing I can think of is to: A) privately deploy the VC runtime in your app folder, which leaves your app open to exploit B) Deploy the runtime as a prerequisite and eliminate the merge module I'd shoot for B, though this means a non-admin user can't install your app if they are missing

[WiX-users] Assertion failure when running heat.

2012-10-25 Thread Peterson Trethewey
Hello wix-users, I'm writing a script that generates an installer. The script uses heat to make a wxs file. In the middle of running heat, a dialog appears saying: Assertion failed. SUCCEEDED(hr) At line 404 of dllsetup.cpp Continue? (Cancel to debug) Yes, No, Cancel If I click "Yes", heat b

Re: [WiX-users] wix uninstall of service

2012-10-25 Thread Senthil Chandran
Worked great! Thanks Peter! Only one thing is $ProductComponent < 3 and not UPGRADINGPRODUCTCODE Thanks, Senthil. -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Thursday, October 25, 2012 2:57 AM To: General discussion for Windows Installer XML too

[WiX-users] Occasional rundll32 error with OLE .NET custom actions

2012-10-25 Thread Skildum, Mathew
I have multiple custom actions the access SQL server through OLE .NET and occasionally I will get a rundll32 error that pops up on the screen. The popup looks to come from Ole .Net process running the SQL scripts and not directly from the install itself. The actual error code is "RUNDLL32 retu

Re: [WiX-users] Major upgrade stops working after doing small changes and switching to 3.6

2012-10-25 Thread PKEuS
I finally found the solution (by trial&error): Its the VC CRT merge module I added. It requires per-machine install and thus whole install scope changes. Any ideas how to solve that (if possible with keeping installer per-user)? -- View this message in context: http://windows-installer-xml-wix

Re: [WiX-users] Registry Search

2012-10-25 Thread Christopher Painter
RegLocator/AppSearch doesn't support this. You'd have to write a custom action. From: "Michael Ogilvie" Sent: Thursday, October 25, 2012 2:38 PM To: "General discussion for Windows Installer XML toolset." Subject: [WiX-users] Registry Search Hello,

[WiX-users] Registry Search

2012-10-25 Thread Michael Ogilvie
Hello, Does anybody know if you can create a registry search with a wildcard in the key? I need to find the Labview install folder but I don't know what version of Labview they might have. Key would be something like this: Root="HKLM Key="SOFTWARE\National Instruments\LabVIEW\12.0" I ne

Re: [WiX-users] Major upgrade stops working after doing small changes and switching to 3.6

2012-10-25 Thread PKEuS
> Your previous install was per user, the new install is per machine, and one will not upgrade the other. The Windows default if unspecified is per user, so perhaps if you never set it in the original install it defaulted to per user. The question is: Why has the new one a different setting? I d

Re: [WiX-users] Installing outside ProgramFilesFolder

2012-10-25 Thread Gavin Bray
Ok, thanks. I'll take a look at that. On Fri, Oct 26, 2012 at 12:19 AM, Hoover, Jacob wrote: > The problem then becomes what is the expected result when your install is > deployed via SCCM or similar tools, or simply invoke via a silent install. > In that case, your CA will never run. The second

Re: [WiX-users] calling a deferred customaction dll usingCAQuietExec

2012-10-25 Thread StevenOgilvie
Phew figured it out with the help of Peter: read the msdn info re deferred custom actions: To write the value of a property into the installation script for use during a deferred execution custom action Insert a small custom action into the installation sequence that sets the property of interest t

[WiX-users] Burn Upgrade Issues

2012-10-25 Thread Adam Westhusing
I'm trying to upgrade a previous version of our product with Burn. I have a bundle that contains 4 MSIs and have already successfully put together a bundle that upgraded from a previous one (Ex. upgrading 2.0 to 2.0.1) I'm trying to upgrade our product from 2.0.1 to 2.1 and I'm running into an e

Re: [WiX-users] Differences in Heat output when run on 32 vs 64 bit build machine

2012-10-25 Thread john.burak
Ah, okay. Maybe it has to do with 16-bit support being dropped in Windows 7 (one of the machines was Windows XP), rather than 32 vs 64 bit. Either way, the changes look benign so I think we'll live with it and see how it goes. Thanks. "Rob Mensching-7 [via Windows Installer XML (WiX) tool

Re: [WiX-users] Burn: Are EXE file and Payload content placed in the same directory for an ExePackage?

2012-10-25 Thread Neil Sleightholm
I have noticed that 3.7 includes a fix to set the cwd: RobMen: SFBUG:3538846 - set current directory for ExePackages to their cache location. Neil -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 25 October 2012 16:44 To: General discussion for Win

Re: [WiX-users] Burn: Are EXE file and Payload content placed in the same directory for an ExePackage?

2012-10-25 Thread Hoover, Jacob
I've found using the @Name on Payload as well as MsiPackage and MspPackage elements allows you to place the files in specific sub folders. So using Name="payload\StealthConsole\Setup.exe" and Name="payload\StealthConsole\StealthWebparts.wsp" would ensure the files are in the same folder, howeve

[WiX-users] Burn: Are EXE file and Payload content placed in the same directory for an ExePackage?

2012-10-25 Thread Hans ter Horst
Hello. As part of my bundle I have to deploy a SharePoint webpart and I use the tool most people use for this and tool comes with a Setup.exe, an XML file describing the installation and the WSP file to be deployed. I have the following in my Bundle.wxs file: With a Fragment describing the p

Re: [WiX-users] Installing outside ProgramFilesFolder

2012-10-25 Thread Hoover, Jacob
The problem then becomes what is the expected result when your install is deployed via SCCM or similar tools, or simply invoke via a silent install. In that case, your CA will never run. The second option I provided would allow for you to initialize a default location yet still allow a silent i

Re: [WiX-users] iterate all MSI tables?

2012-10-25 Thread Christopher Painter
Take a look at the Tables_ table. http://msdn.microsoft.com/en-us/library/windows/desktop/aa372924%28v=vs.85%2 9.aspx From: samuel.feren...@barclays.com Sent: Thursday, October 25, 2012 5:25 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] iter

[WiX-users] iterate all MSI tables?

2012-10-25 Thread samuel.ferencik
Hi, How can I list all the tables in an MSI file? I'd like to query some of them using the "WindowsInstaller.Installer" object (the SQL-like syntax), but I need their list first. http://msdn.microsoft.com/en-us/library/windows/desktop/aa369432(v=vs.85).aspx Thanks, Sam

Re: [WiX-users] wix uninstall of service

2012-10-25 Thread Peter Shirtcliffe
You can add a condition to a custom action of $ProductComponent < 3 and not UPGRADINGPRODUCTCODE to get it to run only when the service component is being removed but not during a major upgrade. If you want it to run during a major upgrade, remove the "and not UPGRADINGPRODUCTCODE". -Ori

Re: [WiX-users] Product Version via(bind.FileVersion.$(var.MAINEXE))

2012-10-25 Thread Peter Shirtcliffe
It may not suit your situation, but I always divorce the installer version from the version of any file within it because they aren't the same thing. When we create patches and upgrades, we increment one field of the product version but the files within it might not change, so the two inevitably di

Re: [WiX-users] calling a deferred customaction dll usingCAQuietExec

2012-10-25 Thread Peter Shirtcliffe
Deferred custom actions are limited. The MSDN describes what you can and can't do and how to get around it here http://msdn.microsoft.com/en-us/library/windows/desktop/aa370543%28v=vs.85%29 .aspx -Original Message- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: 24 October 2012 23:07

Re: [WiX-users] calling a deferred customaction dll using CAQuietExec

2012-10-25 Thread Peter Shirtcliffe
Remove ' Property="CA_StartWebConfigConnectionStrings"' from the first custom action. -Original Message- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: 24 October 2012 19:47 To: wix-users@lists.sourceforge.net Subject: [WiX-users] calling a deferred customaction dll using CAQuietExec

Re: [WiX-users] Repair doesn't find MSI

2012-10-25 Thread Osanger, Martin
Hi, Thanks for your answer. "new download of the MSI" - means that I downloaded the same MSI again from the webserver (which is indeed the same one (packagecode, upgradecodes etc...)). Another copy of our MSI was also available on the local DISK in a directory listed in den SourceList (also av

Re: [WiX-users] Installing outside ProgramFilesFolder

2012-10-25 Thread Gavin Bray
The Sequence="ui" did the trick. Thanks very much for your assistance. On Thu, Oct 25, 2012 at 8:02 AM, Hoover, Jacob wrote: > Try adding Sequence="ui" to your SetProperty element. I can't remember if > AppSearch is executed twice. The next question would be how would you > allow a user to overr