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

2009-11-11 Thread Shawn Dwyer
I've finally got a solution that works I think. I've basically gone back to option 1 - having an admin old and admin new image for each language and running torch for each one. However, because the actual files installed are the same regardless of language, I don't have to carry around the full s

Re: [WiX-users] How to set a property based on another property (by stripping the trailing substring)?

2009-11-11 Thread Blair
Personally I would just install it to a directory named "Microsoft SDKs" under the appropriate ProgramFiles location and not try to "match" it. The default path for all SDKs from MSFT is in that folder and none of the otherwise unrelated ones track the others if they were installed in a different l

Re: [WiX-users] How to read a file to a property

2009-11-11 Thread Blair
If your custom action is in-script (read: deferred) it will be sequenced after all of the built-in actions that copy files. Of course, you can't change the Registry table from a deferred action (which is what I assume you are trying to do here). We all assumed you were reading a text file that was

Re: [WiX-users] Set DisplayVersion in registry to a custom value

2009-11-11 Thread Blair
If you authenticode-sign your MSIs, there is a way to apply MSP files (that also must be similarly signed) that doesn't require elevation. -Original Message- From: Philipp Wagner [mailto:philipp.wag...@med.uni-muenchen.de] Sent: Wednesday, November 11, 2009 8:47 AM To: wix-users@lists.sou

Re: [WiX-users] Question on Listbox

2009-11-11 Thread Blair
Here is the typical pattern for using it: // Make sure you use PMSIHANDLE and not MSIHANDLE for tableView and columns. If you do have to use MSIHANDLE instead, set them both to NULL before the first call to WcaAddTempRecord and call MsiCloseHandle on each of them after the last call to WcaAddTempR

Re: [WiX-users] How to read a file to a property

2009-11-11 Thread HuangRunzhen
Is it possible to read a file in a component in custom action? I tried to do that in custom action but the file is not copied yet when the custom action is run. The custom action has a sequence of 4850, right before WriteRegistryValues. Thanks, Runzhen > Date: Thu, 12 Nov 2009 13:54:45 +1

Re: [WiX-users] Event Source in WIX 2.0

2009-11-11 Thread Blair
The old fashioned way: Write the HKLM\SYSTEM\CurrentControlSet\Services\EventLog\{Log}\{Name} registry key. http://msdn.microsoft.com/library/aa363661.aspx -Original Message- From: Simon Topley [mailto:simon.top...@wallingfordsoftware.com] Sent: Wednesday, November 11, 2009 8:53 AM To: w

Re: [WiX-users] How to read a file to a property

2009-11-11 Thread HuangRunzhen
Got it. Thanks. > Date: Thu, 12 Nov 2009 13:54:45 +1100 > From: sascha.beaum...@gmail.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] How to read a file to a property > > Hi, > > I was attempting to do the same a while back, but unless it's an INI > or XML file then you're

[WiX-users] Registry entry updates in MSP file

2009-11-11 Thread Grebil, Bryce
I'm following the directions on http://www.tramontana.co.hu/wix/ for creating an MSP file. One of the things I'm trying to do is update a registry value on the patch and it doesn't seem to be working. Anyone have any idea how I go about getting the registry value created on install, updated to a

Re: [WiX-users] How to read a file to a property

2009-11-11 Thread Sascha Beaumont
Hi, I was attempting to do the same a while back, but unless it's an INI or XML file then you're out of luck and will need to code your own custom action. It was easier for us to modify the application to read/write to the registry and avoid text files in the future. Sascha 2009/11/12 HuangRunz

[WiX-users] How to set a property based on another property (by stripping the trailing substring)?

2009-11-11 Thread Qi Ning
Hi, I want to install my SDK in a parallel directory of the Silverlight SDK install dir. So I query the SLv3.0 SDK install dir as follows: The value in SL30SDKINSTALLDIR = C:\Program Files\Microsoft SDKs\Silverlight\v3.0\ My question is how to strip from SL30SDKINSTALLDIR the tra

[WiX-users] Dear friend!

2009-11-11 Thread Jackie Ng
Dear friend, How are you recently? I bought a laptop from a website: www.wto-shops.com last week. I have got the product. Its quality is very good and the price is competitive. They also sell phones, TV, psp, motor and so on. By the way, they import product from Korea and sell new and original pro

Re: [WiX-users] What kind of shortcut am I looking at? (finished question)

2009-11-11 Thread JK E-Lists
Thanks, Phil. That's very helpful. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core appl

Re: [WiX-users] What kind of shortcut am I looking at? (finished question)

2009-11-11 Thread Wilson, Phil
This should help: http://wix.mindcapers.com/wiki/Shortcuts_in_WiX#What_are_Advertised_Shortcuts.3F Phil Wilson -Original Message- From: JK E-Lists [mailto:jkli...@ifm-services.com] Sent: Wednesday, November 11, 2009 11:08 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Wh

[WiX-users] What kind of shortcut am I looking at? (finished question)

2009-11-11 Thread JK E-Lists
Sorry, I accidentally sent before done typing. My google skills are failing me, and thought people here might be able to point me in the right direction. I'm charged with producing a new installer for a product using WiX. The application architecture is that of a bare-bones shell that 1) re

[WiX-users] What kind of shortcut am I looking at?

2009-11-11 Thread JK E-Lists
I'm charged with producing a new installer for a product using WiX. The application architecture is that of a bare-bones shell that 1) reads the name of a configuration file from the command line, then 2) reads in a list of .NET assemblies to load from the configuration file. It's ---

[WiX-users] How to read a file to a property

2009-11-11 Thread HuangRunzhen
Hi, I wonder if it is possible to read a .txt file into a property? I need to read this property in a custom action and encode it. Thanks, Runzhen _ MSN十周年庆典,查看MSN注册时间,赢取神秘大奖 http:/

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

2009-11-11 Thread Richard
In article <2ca537e1091016j30f5b672k13d256cece2ba...@mail.gmail.com>, Tony writes: > I know deferred actions only have access to CustomActionData property, > what about rollback actions? Do either have access to other session > data like features, etc? Rollback actions are deferred ac

[WiX-users] Modal Install?

2009-11-11 Thread Jarle Aase
Hi, Is is somehow possible to get the standard UI's to run system modal? The aim is to prevent the Install UI from being hidden behind a web-browser with Flash that use the installer to install a helper-application. Jarle -- Jarle Aase email: j...@jgaa.com Author of Fr

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

2009-11-11 Thread Shawn Dwyer
Hi Blair, Thanks again for the prompt and detailed response. I'm sorry to say even with the updated command line it's still failing to apply to the Spanish install (it applies fine to the English install). I'm thinking maybe the command line options aren't where my misunderstanding is, but per

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

2009-11-11 Thread Tony
I know deferred actions only have access to CustomActionData property, what about rollback actions? Do either have access to other session data like features, etc? On Wed, Nov 11, 2009 at 10:50 AM, Richard wrote: > > I have a slightly different take on this.  I don't like to put > deferred CAs a

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

2009-11-11 Thread Blair
CAImmediate will be called whenever the transaction succeeds (whenever CARollback doesn't ultimately get called) and will never be called when the transaction fails (whenever CARollback does get called), since the rest of InstallExecuteSequence is abandoned after rollback occurs. Those two actions

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

2009-11-11 Thread Blair
Per-User "managed" installations (not managed as in .net, but managed as in requires elevation to install, remove, patch, and upgrade) can install the runtime using the merge modules, as well perform any other operations that require administrative privileges, but they are kind of the "worst" of al

Re: [WiX-users] New Entry in Add/Remove Program when upgrade

2009-11-11 Thread Blair
You can do this with one MSI (I don't see how two MSIs would do anything more than confuse the issue even more) but you have to know BEFORE you start running the MSI whether you will be upgrading or not. Since that decision depends on the user's chosen installation path, which is gathered in the UI

[WiX-users] Event Source in WIX 2.0

2009-11-11 Thread Simon Topley
Howdy all, I'm back on installers for a week or so as we are attempting to make a release of a new piece of software from a company we've recently bought. I'm pulling my hair out over this event source issue. I can see a solution to my creation of an event source issue for WIX 3.0 as part of the u

Re: [WiX-users] Error 0x80040154:failedtogetIID_IIMSAdminBaseobject with IIS 7

2009-11-11 Thread Dominique Louis
Thanks, found that just after I posted my message. Only issue now is to read that DWord registry value. Thank you for all your help so far. -Original Message- From: David Watson [mailto:dwat...@sdl.com] Sent: 11 November 2009 15:02 To: General discussion for Windows Installer XML toolset

[WiX-users] Set DisplayVersion in registry to a custom value

2009-11-11 Thread Philipp Wagner
Hi, I'm building a MSI installer package with WiX 3.0 containing a Mozilla XULRunner based product. Updates will be provided by Mozilla's own update mechanism, which runs as unprivileged user (the users have write access to Program Files/... but not to the HKLM registry keys). This works great

[WiX-users] setup wrapper to pass value to MSI property

2009-11-11 Thread Zhisheng Huang
Hi, To install our MSI, we need to pass some values to MSI property. One of the requirement we get is that customers should just double clikc the installer to install. I am wondering if there are setup wrapper tool that can generate an exe which includes the MSI and invokes it by passing the va

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

2009-11-11 Thread Richard
In article , "Blair" writes: > To keep your own sanity and make sure that repairs, etc. don't mess things > up, it is best to do what the built-in standard actions effectively do and > have an immediate CA or two (the only one(s) you ever then explicitly > schedule in the InstallExecuteSequ

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

2009-11-11 Thread Richard
In article , "Blair" writes: > If you are forced by any other constraint to elevate your setup, make it a > perMachine installation (especially on platforms without UAC) and install > the runtime in SxS "shared" mode (either MSM or EXE installer) which will > allow for the possibility of MS

Re: [WiX-users] Error 0x80040154: failedtogetIID_IIMSAdminBaseobject with IIS 7

2009-11-11 Thread David Watson
Hi, Our installation rules dialogue checks the folowing registry key HKLM\Software\Microsoft\InetStp\Components\Metabase to see if IIS6 compatibility is installed. Dave -Original Message- From: Dominique Louis [mailto:dominique.lo...@amxeurope.com] Sent: 11 November 2009 14:40 To

Re: [WiX-users] Error 0x80040154: failed togetIID_IIMSAdminBaseobject with IIS 7

2009-11-11 Thread Dominique Louis
You are correct, IIS6 compatibility is required for it to install correctly. Does anyone have a script that correctly detects IIS6 compatibility mode under IIS 7? -Original Message- From: Dominique Louis [mailto:dominique.lo...@amxeurope.com] Sent: 11 November 2009 13:09 To: General dis

Re: [WiX-users] New Entry in Add/Remove Program when upgrade

2009-11-11 Thread Jiang, Chunyan (GE Healthcare)
Hi, I would like to clarify my requirement again. I read thought the WiX Tutorial 4. And I hope I could develop one setup.msi, which could combine "Minior upgrades" and "New Install". In my scenario, if updage Version 3 to Version 1 in PathA, it should do the "Minor upgrades". It doesn't not ch

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

2009-11-11 Thread John Daintree
Thanks Kim, That's just what I wanted. A couple of "gotchas" but I think I have it now. Couldn't find a shorter method. /john > -Original Message- > From: Kim Gybels [mailto:kim.gyb...@metris.com] > Sent: 10 November 2009 17:13 > To: General discussion for Windows Installer XML toolset.

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

2009-11-11 Thread Tony
Thanks Blair/Richard. That helps. So, if I have these custom actions and sequence Will CAImmediate ever get called during Rollback? Uninstall? CARollback will only be called if rollback occurs in, or after, CADeferred is called, correct? On Wed,

Re: [WiX-users] Error 0x80040154: failed to getIID_IIMSAdminBaseobject with IIS 7

2009-11-11 Thread Dominique Louis
Do they? My understanding was that if you installed "Management and Script Tools" that would be fine. I'll test that out and report back. Dominique. -Original Message- From: David Watson [mailto:dwat...@sdl.com] Sent: 11 November 2009 12:22 To: General discussion for Windows Installer X

Re: [WiX-users] Question on Listbox

2009-11-11 Thread Jiang, Chunyan (GE Healthcare)
I would like to debug the custom action. But I don't know how to use debugger. So I use MessageBox to show the value I am interested. The value of hTable and hColumns is: MSIHANDLE hTable = NULL; MSIHANDLE hColumns = NULL; I don't know detailed information for WcaAddTempRecord() function. I

Re: [WiX-users] Error 0x80040154: failed to get IID_IIMSAdminBaseobject with IIS 7

2009-11-11 Thread David Watson
Hi, Have you installed the II6 backward compatability in II7, the wix IIS utilities need them? Dave -Original Message- From: Dominique Louis [mailto:dominique.lo...@amxeurope.com] Sent: 11 November 2009 12:13 To: General discussion for Windows Installer XML toolset. Subject: [Wi

[WiX-users] Error 0x80040154: failed to get IID_IIMSAdminBase object with IIS 7

2009-11-11 Thread Dominique Louis
Hi all, I'm trying to create some WebVirtualDir under the Default Web Site which is installed under C:\Program Files\My application. I've set up permissions as follows... And the WebVirtualDir... Action 11:52:58: StartMetabaseTransaction. Starting

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

2009-11-11 Thread Pally Sandher
Mrtn you need the appropriate version of Visual Studio installed to get the merge modules. They appear in C:\Program Files (x86)\Common Files\Merge Modules\ after installation. Richard what you're asking for is impossible. If you use either the merge modules or bootstrap the equivalent VC++ redist

Re: [WiX-users] New Entry in Add/Remove Program when upgrade

2009-11-11 Thread Jiang, Chunyan (GE Healthcare)
Hi Blair, I would like to ask you if I want to realize my scenario, is it possible to write a custom action to realize removing Version 1? Here I set the main msi still as OnlyDetect="yes". But when select one install from the dialog (Version 1) to upgrade, do the removing verion 1 in the custo

Re: [WiX-users] New Entry in Add/Remove Program when upgrade

2009-11-11 Thread Jiang, Chunyan (GE Healthcare)
Hi Blair, Thank you for your explain. I still have some questions here. My requirement is to have multiple versions and also be able to upgrade some. In my last email, the Version 3 should be able to upgrade Version1. It means version 1 should be removed. And Version 2 is kept untouched. But

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

2009-11-11 Thread mrtn
Hi Richard, If you find a mergemodule og make your own, can you please share it with me and the other readers. Last time I used time on this, Microsoft did not have a mergemodule, only a .exe file. //mrtn Richard-45 wrote: > > OK, so I need to deploy the VS 2008 C++ runtime (w/ATL security fi

[WiX-users] How to make features used like radio buttons

2009-11-11 Thread salever.lee
How to make features work like radio buttons ? If I want user to select only one of some features. 2009-11-11 salever.lee -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify