Re: [WiX-users] Replacing regsvr32 commands with Wix elements

2011-06-20 Thread Thom Leigh
Use heat to harvest your registration information and create a wix fragment that you can include or copy/paste from... It's actually very easy :) -Original Message- From: Brad Lemings [mailto:b...@rebit.com] Sent: 20 June 2011 17:27 To: w

Re: [WiX-users] Integrity of WiX binaries

2011-05-16 Thread Thom Leigh
To the OP, why doesn't your organization just download the source and build the binaries themselves? That will solve the "integrity validation of all software used in the build process" requirement. They can even sign the exes with their own certs. Open source FTW :) -Original Message- Fr

Re: [WiX-users] Chaining MSIs together

2011-05-13 Thread Thom Leigh
As has already been said, if you really want to do this you must use Windows Installer 4.5 and its multiple package installation chaining feature: http://msdn.microsoft.com/en-us/library/bb736322(v=vs.85).aspx InstallShield uses a bootstrapper. It can't magically extend the Windows Installer API

Re: [WiX-users] version comparisons in burn

2011-03-25 Thread Thom Leigh
Not sure but have you tried it in the same format as Package/@InstallerVersion: http://wix.sourceforge.net/manual-wix3/wix_xsd_package.htm So for 3.1, use 301. Etc... Don't know about your second question. -Original Message- From: David Watson [mailto:dwat...@sdl.com] Sent: 24 March 2

Re: [WiX-users] Error 26201. Error -2147467259: failed to createSQL database

2011-03-18 Thread Thom Leigh
Do the files you're trying to create in your command already exist on this PC? That would make the create database command fail. Or are you saying that even on the same PC, the same command with the same paths works in SSMS but fails in your MSI? Forgive me if you've already covered this. -O

Re: [WiX-users] Launch exe after install WITH Command line

2011-03-04 Thread Thom Leigh
Set the ExeCommand attribute of your LaunchApplication CustomAction: -Original Message- From: Michael Tissington [mailto:michael_tissing...@ciqual.com] Sent: 04 March 2011 11:03 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Launch exe after install W

Re: [WiX-users] Are thereanyknownproblems with XPathexpressions in customaction?

2011-02-09 Thread Thom Leigh
work. Strange though because I thought we'd tested this. No matter, you've gotten to the bottom of it so again, thank you. Regards Jamie -----Original Message- From: Thom Leigh Sent: Wednesday, February 09, 2011 9:34 AM To: General discussion for Windows Installer X

Re: [WiX-users] Are there anyknownproblems with XPathexpressions in custom action?

2011-02-09 Thread Thom Leigh
If you're sure there's a bug, you can file it on the bug tracker on sourceforge. But there's no bug here. You simply need to use double-backslashes in the right way (no square-brackets). So your XmlFile node should look like: I've tested this and it works. (on 3.5 Release version) -Origin

Re: [WiX-users] Using a Value inside

2011-02-07 Thread Thom Leigh
I think you just include Properties in square brackets to use them? So: But that seems too easy so I'm probably wrong! -Original Message- From: Jamie Thomson [mailto:ja...@jamie-thomson.net] Sent: 07 February 2011 16:29 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Using a

Re: [WiX-users] WIX 3.5 - Listing Web Sites - Custom Action Script

2011-02-04 Thread Thom Leigh
Your error sounds like an encoding bug. The error says '' is undefined. '' is the UTF-8 BOM (Byte Order Mark). I expect your .js file is being saved as Unicode with Byte Order Mark, when it should be being saved as ANSI (or as Unicode but without BOM) -Original Message- From: Pa

Re: [WiX-users] WixCreateInternetShortcuts: Error 0x8000ffff: failed toset shortcut

2011-01-31 Thread Thom Leigh
The MSDN page for IUniformResourceLocator::SetURL details these return values... S_OK: The object's URL was set successfully. E_OUTOFMEMORY: There is not enough memory to complete the operation. IS_E_EXEC_FAILED: The URL's protocol handler failed to run. URL_E_INVALID_SYNTAX: The URL's syntax is i

Re: [WiX-users] FW: Not able to read the Registry Key value of the MSI

2011-01-31 Thread Thom Leigh
Is Key a keyword and therefore needs to be placed in square-brackets or quotes? I'm confused though - why does the error say that your query is "SELECT [Registry], [Key] FROM Registry" but your query is only "SELECT Key FROM Registry"? *shrug* -Original Message- From: Subhasree Ramesh [m

Re: [WiX-users] Migrating from InstallShield to WIX Issue

2011-01-31 Thread Thom Leigh
ild the installer. Regards, Arun. -Original Message- From: Thom Leigh [mailto:t...@mondago.com] Sent: Monday, January 31, 2011 6:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Migrating from InstallShield to WIX Issue Does the msi exist in a

Re: [WiX-users] Single installer for 3 windows service application

2011-01-31 Thread Thom Leigh
at 6:27 PM, Thom Leigh wrote: > http://www.tramontana.co.hu/wix/ tutorial on creating installers in WiX. > > Use the ServiceInstall element to install services... > http://wix.sourceforge.net/manual-wix3/wix_xsd_serviceinstall.htm > > > > > -Original Message- &

Re: [WiX-users] Migrating from InstallShield to WIX Issue

2011-01-31 Thread Thom Leigh
Does the msi exist in any of the cabs or setup.exe file? (try opening them with 7zip) What version of InstallShield was used to build the installer? -Original Message- From: Arun Kumar [mailto:arun_jku...@persistent.co.in] Sent: 31 January 2011 12:54 To: General discussion for Windows In

Re: [WiX-users] Single installer for 3 windows service application

2011-01-31 Thread Thom Leigh
http://www.tramontana.co.hu/wix/ tutorial on creating installers in WiX. Use the ServiceInstall element to install services... http://wix.sourceforge.net/manual-wix3/wix_xsd_serviceinstall.htm -Original Message- From: subrat agasti [mailto:subrat.w...@gmail.com] Sent: 31 January 2011

Re: [WiX-users] Getting Error LGHT0311

2011-01-26 Thread Thom Leigh
FYI Bhavik, codepage 65001 is UTF-8, but Windows Installer doesn't support it. Specifically, when I've used it, it messed up the fonts in the Basic UI when uninstalling (showed squares) which I kind of worked around by making it show the Maintenance dialog when uninstalling from ARP. In the long

Re: [WiX-users] 64 Bit program files folder

2011-01-21 Thread Thom Leigh
Have you tried Component/@Win64="yes" for that component? Not sure if that's needed if you're following robmen's advice and using -arch, as that switch should set Win64="yes" for you (I think?) -Original Message- From: Manoj Jangid [mailto:jangi...@gmail.com] Sent: 21 January 2011 16:12

Re: [WiX-users] Overwrite file to "factory" as an installer feature

2011-01-21 Thread Thom Leigh
Specifically, Companion Files are the only things that get written without regard to versioning. So maybe make the default settings file a Companion File of another feature that *will* always get installed on a re-install? -Original Message- From: Rob Mensching [mailto:r...@robmensching.c

Re: [WiX-users] Major Upgrade Rollbacks

2011-01-21 Thread Thom Leigh
When you say "never removed even on rollback", do you mean never removed on uninstall either? If so, you can set your component's guid to an empty string. Meaning Windows Installer will not "manage" the component at all - so it won't be able to remove it. But Windows Installer also won't be able

Re: [WiX-users] WiX source code download

2011-01-14 Thread Thom Leigh
http://wix.sourceforge.net/releases/ (there is one folder for 3.0.5419.0) -Original Message- From: MeCoco [mailto:vcotirl...@hotmail.com] Sent: 14 January 2011 16:25 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] WiX source code download Hi all, I want

Re: [WiX-users] WIX 3.5 - Adding active directory user to a local group

2011-01-14 Thread Thom Leigh
Google the WixUtil extension. Specifically the Group and GroupRef elements, and the User element. http://wix.sourceforge.net/manual-wix3/util_xsd_groupref.htm says GroupRef is used to join a user to a group. Hopefully that'll be enough to help you do it... -Original Message- From: marr

Re: [WiX-users] The same Windows Service installed under different names

2011-01-14 Thread Thom Leigh
Like you say, multiple MSIs means updates/patches are a headache. You could instead use "instance transforms". From http://msdn.microsoft.com/en-us/library/aa369523(VS.85).aspx: "you can install multiple instances of a product if you have a separate installation package for each instance of a prod

Re: [WiX-users] Condition check and Next Button

2011-01-12 Thread Thom Leigh
ssage- From: Leonidas Spyropoulos [mailto:leonidas.spyropou...@formicary.net] Sent: 12 January 2011 15:46 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Condition check and Next Button On 12/01/2011 15:14, Thom Leigh wrote: > This type of thing has been asked about before and as

Re: [WiX-users] Condition check and Next Button

2011-01-12 Thread Thom Leigh
This type of thing has been asked about before and as far as I understand it is not possible - due to limitations in Windows Installer itself, not WIX. Instead, consider always having Next enabled, and then when the user clicks Next, display an error message if either textbox is empty. -Ori

Re: [WiX-users] Java check

2011-01-12 Thread Thom Leigh
As this is a pre-requisite I'm glad you're plan is to block the install from the MSI with a meaningful error message if Java isn't installed. That is definitely the right thing to do. Fortunately the Java installer is MSI based (or at least the one installed on my PC is), so detecting it from your

Re: [WiX-users] XML <-> DOM

2011-01-10 Thread Thom Leigh
Perhaps you should specify the attribute in your XPath query, something like: ElementPath='//configuration/appSettings/add[key="MatrixPath"]' Or I think '//configuration/appSettings/add[2]' would be for the second "add" node... -Original Message- From: Sascha Trenz [mailto:s.tr...@43gm

Re: [WiX-users] Custom UI sequence

2011-01-10 Thread Thom Leigh
NOT Installed Then I have WixUIExtension included in the "reference" section of my VS 2008 project. Again, this is a C++ console application rather than .Net. -Brad On Jan 7, 2011, at 12:25 AM, Thom Leigh wrote: > This is how I do it in my (working) cus

Re: [WiX-users] planning for automated updates

2011-01-07 Thread Thom Leigh
Well, WiX is used to build MSIs (and MSMs etc). It can certainly build MSIs that uninstall old version/upgrade to new version including services and adding new files. But you'd have to do the rest yourself (AFAIK?) Have you not looked at ClickOnce? http://msdn.microsoft.com/en-us/library/s22azw1e

Re: [WiX-users] Custom UI sequence

2011-01-07 Thread Thom Leigh
This is how I do it in my (working) customized minimal UI, using WiX 3.5... In the main Product wxs: My customized UI wxs (which, coincidentally, simply removes the Welcome dialog from the standard minimal UI. So I'm not trying to do exactly the same thing as you...):

Re: [WiX-users] Problem with the upgrademodus

2011-01-07 Thread Thom Leigh
I think this is what you're after. To reinstall even if the same version is already installed, I use this in my Upgrade node: The important part being IncludeMinimum="no" when looking for "newer" versions, and IncludeMaximum="yes" when looking for versions that can be upgraded. It generates

Re: [WiX-users] Display dialog despite LIMITUI

2010-12-21 Thread Thom Leigh
I doubt it's possible, it seems to go against the spirit and the letter of the Windows Installer SDK documentation at: http://msdn.microsoft.com/en-us/library/aa372391(v=vs.85).aspx Maybe you should make your own custom ui? As ever tramontana's tutorial is probably useful for you: http://www.t

Re: [WiX-users] question about the CostingComplete MSI bug

2010-12-20 Thread Thom Leigh
Relates to this: http://sourceforge.net/tracker/?func=detail&aid=2951181&group_id=105970&; atid=642714 See here for info: http://www.joyofsetup.com/2010/04/04/bug-hunting/ http://www.joyofsetup.com/2010/05/20/its-time-to-experiment/ http://www.joyofsetup.com/2010/05/28/experimental-results-part-i/

Re: [WiX-users] Selectively updating app.config

2010-12-17 Thread Thom Leigh
This isn't what you want but might help you make a start: Basically this will append a node to the node but only if one doesn't already exist (VerifyPath='/Settings/DbInstance'). Then it sets the value of the node (either the pre-existing one, or the newly created one)

Re: [WiX-users] Upgrade to wix 3.5 doesn't honourtheprod...@codepage

2010-12-10 Thread Thom Leigh
ied in wix 3.6. I also notice that you don't even need to use anything in the WixUIExtension just add a votive reference and it changes the codepage. Dave -Original Message----- From: Thom Leigh [mailto:t...@mondago.com] Sent: 10 December 2010 13:45 To: General discussion for Window

Re: [WiX-users] Upgrade to wix 3.5 doesn't honour the prod...@codepage

2010-12-10 Thread Thom Leigh
I had a thing like that a couple of months ago. Product/@Codepage would be 1252 no matter what I set it to, even if setting it to something totally different like 1256. I opened a bug in the tracker and I think it got fixed. Which weekly are you using? Have you tried it in "Escrow 2"? PS I was or

[WiX-users] Bugs in WixUI localizations - preventing build

2010-12-09 Thread Thom Leigh
Hi I've just come across a few bugs in the wix-ui localization files that were preventing me building various cultures. The bugs are all simple to fix, mostly just typos. I've added them to the bug tracker on sf, with instructions on how to fix. I would submit patches but don't know how... (any