Re: [WiX-users] So how does one run installed executable after the install finishes?

2009-11-10 Thread Blair
If you are truly succeeding in launching your app from a deferred CA that isn't impersonating, it is running in Session 0 on a non-UI desktop (and without a user profile), so you can't ever see/interact with it. If you place a "requireAdministrator" manifest for UAC in your app, you might succeed i

Re: [WiX-users] Rollback and uninstall sequences...

2009-11-10 Thread Blair
For removal, people sometimes take the deferred action that was marked as the rollback install action and double mark it as their remove deferred action, which then lets you take your installation deferred action and double mark it as your remove rollback action (confused, yet?). The idea being th

Re: [WiX-users] best way to deploy C++ runtime?

2009-11-10 Thread Blair
There are two ways: If you use the runtime in SxS "shared" mode, it can only be installed after granting admin privileges (whether you use the MSM or the EXE installer). If OTOH you use the "isolated" mode (aka private assembly), then you only require the privileges that the directory you are writi

Re: [WiX-users] One MSP for multiple MSI

2009-11-10 Thread Blair
Digging out the sources for 3.0 RTM, here is what I see: The help built into the tool says that the accepted values for the -val argument are (all are in the list of accepted values): g UpgradeCode must match l Language must match r Product ID must match s

[WiX-users] best way to deploy C++ runtime?

2009-11-10 Thread Richard
OK, so I need to deploy the VS 2008 C++ runtime (w/ATL security fix) and I'm reading the documentation in Visual Studio that says that using the merge modules will install the runtime as side-by-side assemblies. Further, it says that this will require administrative priveleges in order to install

Re: [WiX-users] So how does one run installed executable after the install finishes?

2009-11-10 Thread Tony Juricic
It gets worse. Even if app is not a WPF app (or a .NET app), it is really not correct, regarding the expected UI, to run deferred action launching an exe as the part of InstallExecuteSequence, like: ... What happens is that executable is run but Exi

Re: [WiX-users] So how does one run installed executable after the install finishes?

2009-11-10 Thread Bob Arnson
Tony Juricic wrote: > While there are quite a few samples of appropriate Custom Action (including > some posted here) none of them work for me. I either get an error code 1631 > or no error code (see log example below where it appears that app was > launched ok) but I see no application UI (it

Re: [WiX-users] Product uninstall problem when removing first a patch

2009-11-10 Thread Bob Arnson
Adrian Gantoi wrote: > I am unable to find any change that would imply a removed component (no > components were removed, no GUIDs changed). > The only thing I can think of is maybe the transform for the only MSI adding > a font installation could > produce problems (even if it's not the applied

Re: [WiX-users] Is it possible to add text to the MyInstallDirDlg?

2009-11-10 Thread Bob Arnson
briancostea wrote: > I am creating a MSI using WIX 3.0 for the first time. Is there any way for > me to add text to the screen where the user selects the installation > directory? Not directly supported; you'd have to create a customized dialog set. -- sig://boB http://joyofsetup.com/

[WiX-users] So how does one run installed executable after the install finishes?

2009-11-10 Thread Tony Juricic
While there are quite a few samples of appropriate Custom Action (including some posted here) none of them work for me. I either get an error code 1631 or no error code (see log example below where it appears that app was launched ok) but I see no application UI (it is a WPF app). Is there som

Re: [WiX-users] Rollback and uninstall sequences...

2009-11-10 Thread Richard
In article <2ca537e10911101230v21ed97e1sabffc232fc58b...@mail.gmail.com>, Tony writes: > During rollback, all actions executed since the InstallInitialize are > run again in reverse order (assuming conditions are met), correct? > And the Rollback property is set. Are actions after InstallF

[WiX-users] Is it possible to add text to the MyInstallDirDlg?

2009-11-10 Thread briancostea
I am creating a MSI using WIX 3.0 for the first time. Is there any way for me to add text to the screen where the user selects the installation directory? I want to prompt them to select the folder that needs to exist for the application to run. Thanks Brian -- View this message in context:

Re: [WiX-users] Replace a single file in an MSI

2009-11-10 Thread Sascha Beaumont
Assuming you don't mind having an external CAB file, it's not too hard... here's a (simplified) script that I'm using to permit end-users to customize a configuration file prior to deployment. The example code modifies the MSI (which is fine for testing), however our production code creates a copy,

Re: [WiX-users] One MSP for multiple MSI

2009-11-10 Thread Shawn Dwyer
Thanks Blair. What you've described makes perfect sense, I wish I had reviewed the command line options more thoroughly before posting :) I'm afraid I might have misunderstood something though, because I still can't get this to work. I'm attempting to go with option 2 to reduce the size of the

Re: [WiX-users] Disallowing installation of 32-bit-only package on 64-bit Windows

2009-11-10 Thread Lukhnos D. Liu
On Nov 9, 2009, at 9:45 PM, Blair wrote: > Create a LaunchCondition by placing the following element under your Program > element (anytime after the Package element): > > NOT VersionNT64 Thanks all! This solution works perfectly--less user confusion and better product experience (and just one mo

[WiX-users] Rollback and uninstall sequences...

2009-11-10 Thread Tony
I'm trying to find documentation explaining the sequences followed during rollback and unisntall. Google has failed me, thus far. During uninstall all of the actions in the execute sequence run again (assuming conditions are met), correct? And the Remove property is now set. During rollback, al

Re: [WiX-users] Replace a single file in an MSI

2009-11-10 Thread Kim Gybels
This is possible using msidb which is part of the Windows Installer Development Tools. I think you will need to do the following: - extract cab file using "msidb -x" - replace the file in the cabinet - delete the cab file from the msi using "msidb -k" - add the changed cabinet back using "msidb -a

Re: [WiX-users] How to suppress components from showing up in add/remove programs?

2009-11-10 Thread Blair
Add AddRemovePrograms='no' to your Driver element in the http://schemas.microsoft.com/wix/DifxAppExtension namespace. It unfortunately defaults to 'yes'. -Original Message- From: shane_cor...@selinc.com [mailto:shane_cor...@selinc.com] Sent: Tuesday, November 10, 2009 9:14 AM To: wix-user

Re: [WiX-users] Question on Listbox

2009-11-10 Thread Blair
This is where you probably want to attach a debugger on your custom action. I would be interested to know the values of both hResult and error (which is an enumeration). Also, before the first call to WcaAddTempRecord, what were the values of hTable and hColumns? -Original Message- From:

Re: [WiX-users] Replace a single file in an MSI

2009-11-10 Thread Blair
You can use msifiler.exe (http://blogs.msdn.com/windows_installer_team/archive/2005/08/10/451482.aspx ). Be sure to change the "PackageGuid" as well (msiinfo.exe -v {NEW-GUID} where NEW-GUID is a new guid that is all CAPS. See http://msdn.microsoft.com/library/aa370310.aspx and http://msdn.microsof

[WiX-users] How to suppress components from showing up in add/remove programs?

2009-11-10 Thread Shane_Corbin
I have an installer that installs a PCI driver only. After installation I get two items in ARP. I get an entry for the product name and another for the driver component that installed. How do I best "hide" the driver component that was installed? It shows as "Windows Driver Package - "

Re: [WiX-users] New to wix: LGHT0036: Could not find extension 'WixUIExtension'

2009-11-10 Thread cnms
Hi Palbinder, Here is the wxs file content:-

Re: [WiX-users] Problems with major upgrade

2009-11-10 Thread Blair
Your entire run of product should retain the exact same UpgradeCode. That is what allows the Upgrade tables of all your installation packages to detect downgrade attempts. -Original Message- From: Thomas Due [mailto:thomas@scanvaegt.dk] Sent: Tuesday, November 10, 2009 5:06 AM To: Gen

Re: [WiX-users] New to wix: LGHT0036: Could not find extension 'WixUIExtension'

2009-11-10 Thread Pally Sandher
Could be literally anything. Without seeing your XML it's impossible to say. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Reg

Re: [WiX-users] Write verbose log file to where app installed

2009-11-10 Thread Blair
The log starts being written before the UI is ever shown, so its path must be fully defined by then. It can't be changed after the MSI starts running. As far as I know the only alternatives are the so-called "external UI" interface, which requires bootstrapping, or the "embedded UI" interface, whi

Re: [WiX-users] New to wix: LGHT0036: Could not find extension 'WixUIExtension'

2009-11-10 Thread cnms
Hi, I tried to do this:- "C:\Program Files\Windows Installer XML v3\bin\light.exe" -ext "C:\Program Files\Windows Installer XML v3\bin\WixUIExtension.dll" -out SampleWixUI.msi SampleWixUI.wixobj Now I am getting light.exe : error LGHT0001 : Unknown error "-1". Exception Type: System.IO.IOExcepti

Re: [WiX-users] Replace a single file in an MSI

2009-11-10 Thread Raj, Vijay
I reckon, Creating a patch for the MSI is the best option. http://tinyurl.com/installerpatches Cheers' Vijay -Original Message- From: John Daintree [mailto:jo...@dyalog.com] Sent: Tuesday, November 10, 2009 8:18 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Replace a sing

Re: [WiX-users] New to wix: LGHT0036: Could not find extension 'WixUIExtension'

2009-11-10 Thread Pally Sandher
Try light.exe -ext "C:\Program Files\Windows Installer XML v3\bin\WixUIExtension.dll" SampleWixUI.wixobj or light.exe -ext "C:\Program Files (x86)\Windows Installer XML v3\bin\WixUIExtension.dll" SampleWixUI.wixobj if you're on an x64 version of Windows. If you've installed WiX to a different loc

Re: [WiX-users] New to wix: LGHT0036: Could not find extension 'WixUIExtension'

2009-11-10 Thread Mike Rerick
Here is what I use for building my installers: "%WIX_BIN_PATH%\candle.exe" "installer.wxs" -ext "%WIX_EXT_PATH%\WixUtilExtension.dll" -ext "%WIX_EXT_PATH%\WixSqlExtension.dll" if errorlevel 1 goto comperr rem Run light.exe (linker) echo Run the WiX Linker... "%WIX_BIN_PATH%\light.exe" -out "insta

[WiX-users] New to wix: LGHT0036: Could not find extension 'WixUIExtension'

2009-11-10 Thread cnmshyam
Hi, I am getting LGHT0036: Could not find extension 'WixUIExtension' when i try to run light.exe -ext WixUIExtension SampleWixUI.wixobj. I have taken the sample example form http://www.tramontana.co.hu/wix/lesson2.php and tried to run. Please help me out. Thanks and regards, Shyam. -- View

[WiX-users] Replace a single file in an MSI

2009-11-10 Thread John Daintree
Hello all, Is it possible to replace a file in an existing MSI package without having to go through the build process to rebuild the whole thing? If so, how? Thanks, John -- Let Crystal Reports handle the reportin

[WiX-users] Question on Listbox

2009-11-10 Thread Jiang, Chunyan (GE Healthcare)
Hi wix-users, I want to use Listbox control to show some items on dialog. So I tried the sample in WiX Tutorial 10.1 I changed the sample a little bit for passing build: Add To sampleListbox.wxs. Otherwise there is always error in verbose log that control needs a property link to it. And

Re: [WiX-users] Product uninstall problem when removing first a patch

2009-11-10 Thread Adrian Gantoi
Hi Bob, I am unable to find any change that would imply a removed component (no components were removed, no GUIDs changed). The only thing I can think of is maybe the transform for the only MSI adding a font installation could produce problems (even if it's not the applied transform), as the pat

Re: [WiX-users] Link error for dutil.lib

2009-11-10 Thread Jiang, Chunyan (GE Healthcare)
Hi Bob, I changed both dutil.lib and wcautil.lib to _2005. Then the error is gone. Thanks for your help. Regards, Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Dienstag, 10. November 2009 14:20 An: General discussion for Windows Installer XML toolse

Re: [WiX-users] Link error for dutil.lib

2009-11-10 Thread Jiang, Chunyan (GE Healthcare)
Hi Bob, I have tried dutil_2005.lib. #pragma comment(lib, "dutil_2005.lib") But there is still the problem Regards, Chunyan -Ursprüngliche Nachricht- Von: Bob Arnson [mailto:b...@joyofsetup.com] Gesendet: Dienstag, 10. November 2009 14:09 An: General discussion for Windows Installe

Re: [WiX-users] Product uninstall problem when removing first a patch

2009-11-10 Thread Bob Arnson
Adrian Gantoi wrote: > I also had a look on reported feature states at each step (I'll report below > my major features' states). > Results: > - product install - no comments > - SP2 install - no errors reported - features : Installed=Local, > Request=Reinstall, Action=Reinstall > - SP2 uninstall

Re: [WiX-users] Link error for dutil.lib

2009-11-10 Thread Bob Arnson
Jiang, Chunyan (GE Healthcare) wrote: > There is still not working for Visual Studio 2005. The error message: > > dutil.lib(precomp.obj) : fatal error LNK1103: debugging information corrupt; > recompile module > Use dutil_2005.lib. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] Problems with major upgrade

2009-11-10 Thread Thomas Due
Nevermind, it seems I got it to work. I hadn't caught that the upgra...@id code needed to be the same as produ...@upgradecode. Best regards, Thomas Due -Original Message- From: Thomas Due Sent: 10. november 2009 12:38 To: General discussion for Windows Installer XML toolset. Subject: [W

Re: [WiX-users] Link error for dutil.lib

2009-11-10 Thread Jiang, Chunyan (GE Healthcare)
Hi Gábor, Thanks for your help. I tried to use the command as you said in one batch file. But when run the batch file, there is no action. No dll are generated, nor message return. The command line screen only shows the content as in batch file. What is the problem? There is still not workin

Re: [WiX-users] Problems with major upgrade

2009-11-10 Thread Peter Shirtcliffe
In your code, the upgrade code of the product element does not match the Id of the upgrade element. The Id of the upgrade element determines which products will be detected. Make sure that the upgrade element's Id is the same as the upgrade code of the product. It is valid to have multiple upgr

Re: [WiX-users] Use of DllSurrogate on the AppId statement

2009-11-10 Thread Roy Chastain
I am not an expert at using any of the bug stuff, but I went to the tracker, put DllSurrogate into the box and click search. No results. That leads me to believe it was not a reported bug. Did I miss a step? -- Roy Chastain

Re: [WiX-users] Error message "Cannot convert RelativePathinto Registry elements."

2009-11-10 Thread Roy Chastain
Okay, removing the attribute removed the error. Is that a bug? I seems that no should mean no. 3.5 has the same behavior? Since I am not using the Advertise attribute, does the RelativePath attribute have any meaning? Is the lack of relative path support a WIX issue or an installer issue? I am

[WiX-users] Problems with major upgrade

2009-11-10 Thread Thomas Due
I know this has been asked and answered about a zillion times and that I probably can find the information somewhere on the mailing list. The problem is I don't know how to limit my search, so I get roughly 1500 hits. It's like searching for the proverbial needle in a haystack. I try to do it exa

Re: [WiX-users] setupbld setup.exe & repair install

2009-11-10 Thread warne warne
Turned out this is not so trivial. Line in the setup.cpp file (the source for the SETUPBLD stub setup.exe) says "hr = StrAllocConcat(&pwzProperties, L" REINSTALL=ALL REINSTALLMODE=\"vomus\"", 0);" this forces a minor upgrade instead of a normal install that produces the change/r

[WiX-users] Write verbose log file to where app installed

2009-11-10 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I would like to have verbose log to check installation. I know that it is possible to use command line to get log as: msiexec /i setup.msi /l verboselog.log Then the log file will be writen where setup.msi locates. However, I want the log file written into where the app installe