[WiX-users] Clarification question about rollbacks...

2007-07-20 Thread Rory Clark
I've been reading through Phil Wilson's The Definitive Guild to the Wndows Installer . I got the distinct impression, though I can't find it now, t

[WiX-users] Adding an error message popup without aborting installation

2007-07-20 Thread Man, Shirley
Hi, I am launching a third-party installer (say, abc.exe) within my own, and I would like to display a popup message saying "abc.exe failed to install" if abc fails. This abc installer is launched in silent mode, so there is no error message from it. User will continue the rest of the installation

Re: [WiX-users] Registry value not overwritten but no error given

2007-07-20 Thread Dale Quigg
This is not a WiX/MSI problem. I'm being "bad" and manually registering (as well as declaratively) registering a .dll that I'm pretty sure is causing the problem. Sorry to bother. Dale -Original Message- From: Dale Quigg Sent: Friday, July 20, 2007 3:39 PM To: 'wix-users@lists.sourcefo

[WiX-users] Registry value not overwritten but no error given

2007-07-20 Thread Dale Quigg
Hi, I have a "leftover" (after uninstall) registry value from an old InstallShield X Universal (Java based) install that is not getting overwritten by my new, WiX v3 based, .msi install. When my .msi install is complete, the registry looks like this; REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentCo

Re: [WiX-users] Initializing a MySQL 5 database

2007-07-20 Thread Friedrich Brunzema
Bob, thanks for the information regarding SQL support in Wix. Could one not use OleDB or one of the other database access technologies (ODBC) that use a connection string to get all databases covered in one go? I can take a look at the source to see how hard it would be to add MySQL support t

[WiX-users] DifXApp UI on WinXP+

2007-07-20 Thread Aaron Averbuch
We have a Full UI MSI (UILevel 5) that uses DifXApp to install drivers on WinXP and Vista. All works well on these OS's except that we get a slight "splash UI" in the upper-left-hand-corner of the monitor when the driver is actually being installed. Is there a way to make DifXApp install driver

Re: [WiX-users] unconditional full install on minor upgrade

2007-07-20 Thread Wilson, Phil
OnlyDetect=yes will result in the old product not being uninstalled, correct. Phil Wilson From: Nitin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 19, 2007 10:38 PM To: Wilson, Phil; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] unconditional full

[WiX-users] Drivers/9X/MSI

2007-07-20 Thread Aaron Averbuch
Does anyone have a good MSI or custom action solution for installing drivers on Win9X (given than DIFXApp doesn't support these OS's due to the lack of Microsoft support for these OS's)? I'm assuming that there are older techniques that people used for these OS's before DIFXApp came out. Than

Re: [WiX-users] How to read Version information from the Registry.

2007-07-20 Thread Naresh Krishna Kumar K
Hi, I am trying to read the version of GPMC in the Registry which is 1.0.2. I can check whether the GPMC is installed or not. But I want to read the version data from the registry since my tool will run in other operating systems and GPMC are in two different versions. Based on the version of GPMC

Re: [WiX-users] Add Registry Value to a variable

2007-07-20 Thread Pierson Lee (Volt)
You need to do a registrysearch. Look at registrysearch in the documentation -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "Martin Österreicher" Sent: Friday, July 20, 2007 2:42 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Add Registry Va

[WiX-users] Is there string manipulation in WIX?.

2007-07-20 Thread DE�K JAHN, G�bor
On Thu, 19 Jul 2007 17:42:04 -0400, Venkatesh Malepati wrote: Venkat, > calculation outcome. Can anybody think that it is easy or do I need > to write a program in c or visual basic?. C, C++, D, Pascal, Eiffel, and a whole lot of other programming languages and environments, anything that can c

Re: [WiX-users] Creating a URL shortcut to an IIS virtual directory created by the installation

2007-07-20 Thread Bob Arnson
Duncan Cross wrote: > ...but instead of using a static string for the URL shortcut, I want > it to point at the virtual directory/web application that was just > installed (since it eventually should have a configurable location > etc). Is it possible to get the URL from an > iis:WebApplication/iis

Re: [WiX-users] CustomizeDlg - "Location" text

2007-07-20 Thread Bob Arnson
Craig Ward wrote: > I'm experiencing a slight problem with the CustomizeDlg's "Location" > control. When installing, this dlg correctly displays the target > directory, and (again correctly) allows me to browse for a new path. > However, once installed, if I re-run the installation program and sele

Re: [WiX-users] Getting installed version

2007-07-20 Thread Bob Arnson
LEMIRE, JOHN wrote: > Does anyone know off the top of their head how to get the installed > version. I'm trying to do an upgrade and I've got the upgrade code but > I'd like the version number of what's already installed to put into some > dialog text. > There's no direct way to get it. (MSI do

Re: [WiX-users] Initializing a MySQL 5 database

2007-07-20 Thread Bob Arnson
Friedrich Brunzema wrote: I noticed that there is some SQL support in Wix, but did not find extensive documentation on this (or an example). At first glance my guess is that this only works for SQL server installations. Does someone have more information? Yes, it's SQL Server-specific. We'v

Re: [WiX-users] How to read Version information from the Registry.

2007-07-20 Thread Bob Arnson
Naresh Krishna Kumar K wrote: > Hi, > > I am trying to read the version information from the registry. > > > Root="HKLM" > > Key="SOFTWARE\Microsoft\MMC\SnapIns\{E12BBB5D-D59D-4E61-947A-301D25AE8C23}" > Name="Version" Type="raw" > /> >

Re: [WiX-users] Installing multi-instances, have anyone tried it?

2007-07-20 Thread Bob Arnson
Sebastian Brand wrote: > WiX cannot create Transform files. Yet. Rob? :-) > That's what Torch does. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) V

Re: [WiX-users] error LGHT0112 : ..'UI:wixui.wxlib' error , wixui.wxlib on commandline

2007-07-20 Thread Bob Arnson
bryan rasmussen wrote: > oh I noticed I had changed the UIRef from WixUI, which it is in the > normal Testminimal.wxs, to wixui.wixlib, just in case that would work. > but both versions are giving the same result. > The UIRef should be to the dialog set you want to use, e.g., WixUI_Minimal. Wh

Re: [WiX-users] Detecting previously installed compoents on major upgrade

2007-07-20 Thread Bob Arnson
Sebastian Brand wrote: > Has this been resolved yet? How can I use a ComponentSearch if the > KeyPath is a registry value (which is the case quite often)? > It appears that MSI doesn't support that. See the CompLocator doc: The only flags are for directories and files. -- sig://boB http://

[WiX-users] Getting installed version

2007-07-20 Thread LEMIRE, JOHN
Does anyone know off the top of their head how to get the installed version. I'm trying to do an upgrade and I've got the upgrade code but I'd like the version number of what's already installed to put into some dialog text. Thanks very much! :-) -john

[WiX-users] Creating a URL shortcut to an IIS virtual directory created by the installation

2007-07-20 Thread Duncan Cross
Hello, I'm new to WiX. I've got as far as creating an installer which: * Deploys files to a Program Files directory; * Creates a new IIS virtual directory/web application on the default web site using the installed files; * Creates a static URL shortcut in a new Program Menu folder (using IniFile

[WiX-users] Error with Torch.exe

2007-07-20 Thread Patrice Lamarche
Hello, I'm doing some patching test and from time to time I have this error. I'm using version : Microsoft (R) Windows Installer Xml Transform Builder Version 3.0.3113.0 torch.exe : error TRCH0103 : The system cannot find the file 'C:\Documents and Settings\plamarche\Local Settings

Re: [WiX-users] error LGHT0112 : ..'UI:wixui.wxlib' error , wixui.wxlib on commandline

2007-07-20 Thread bryan rasmussen
oh I noticed I had changed the UIRef from WixUI, which it is in the normal Testminimal.wxs, to wixui.wixlib, just in case that would work. but both versions are giving the same result. Cheers, Bryan Rasmussen On 7/20/07, bryan rasmussen <[EMAIL PROTECTED]> wrote: > Hi i am getting the following e

[WiX-users] error LGHT0112 : ..'UI:wixui.wxlib' error , wixui.wxlib on commandline

2007-07-20 Thread bryan rasmussen
Hi i am getting the following error on TestMinimal.wxs: error LGHT0112 : unresolved reference to symbol 'UI:wixui.wxlib' in section 'Product:12345678-1234-1234-1234-098765432113' my command line is as follows: light.exe -out check3.msi testminimal.wixobj wixui.wixlib wixui.wixlib and testminimal

Re: [WiX-users] Installing multi-instances, have anyone tried it?

2007-07-20 Thread Christopher Painter
Here is an article I wrote last year using ISHNMET. http://blog.deploymentengineering.com/2006/10/multiple-instance-msis-and.html Basically ISHNMET automatically handles creating and streaming the instance transform but I had to roll my own custom bootstrapper to `automagically` hand

[WiX-users] How to declare optional - but exclusive - components?

2007-07-20 Thread Crusty Applesniffer
Hello, I'm using Wix3.0 and I wonder if there is a way to declare two components that can not be installed for the same feature. I mean how can I have: (x) Feature 1 (x) Component A ( ) Component B that automatically changes to : (x) Feature 1 ( ) Component A (x)

Re: [WiX-users] Windows Installer - CustomAction DLL

2007-07-20 Thread Rob Hamflett
It always succeeds because you always return ERROR_SUCCESS. The list of possible return values is here: https://msdn2.microsoft.com/en-us/library/aa368072.aspx Also make sure you have [EMAIL PROTECTED]"check" Rob Naresh Krishna Kumar K wrote: > Hi, > > I am creating a Custom Action DLL using

[WiX-users] How to read Version information from the Registry.

2007-07-20 Thread Naresh Krishna Kumar K
Hi, I am trying to read the version information from the registry. I dont have any attributes in RegistrySearch element to read the version information of the installed application. Is there any workaround in WIX? Thanks in advance. -- View this message in context: http://www.

[WiX-users] Initializing a MySQL 5 database

2007-07-20 Thread Friedrich Brunzema
Hi, I have a question about initializing a MySql (v.5) database using Wix. Our application is written in C# .net, and uses a .net connector to talk to the database. Right now, we have a custom action that call the MySql.exe client, passing in a SQL script to initialize the database. While th

[WiX-users] Windows Installer - CustomAction DLL

2007-07-20 Thread Naresh Krishna Kumar K
Hi, I am creating a Custom Action DLL using VC++. My Custom Action DLL source code is given below: #pragma comment(lib, "msi.lib") #include "stdafx.h" BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved

Re: [WiX-users] Extension registered but not accepted by windows

2007-07-20 Thread Brian Elmegaard
Rob Hamflett <[EMAIL PROTECTED]> writes: > Possibly you want [!EMACSPATH] instead of ![EMACSPATH]. Thanks Rob. Actually I just needed to get rid of the exclamation point. I don't really know how I got that. I may have seen it in some example somewhere. Regards, -- Brian (remove the sport for ma

Re: [WiX-users] Populating Listbox from a custom action

2007-07-20 Thread Alexei
The problem was that I wanted the LISTBOXVALUES property set to the Value column of the listbox, as opposed to the Text. I realise now that it was because I wasn't actually populating the listbox with any text - merely the value. What I wanted to do was: WcaAddTempRecord(hTable, hColumns, L"ListB

[WiX-users] CustomizeDlg - "Location" text

2007-07-20 Thread Craig Ward
I'm experiencing a slight problem with the CustomizeDlg's "Location" control. When installing, this dlg correctly displays the target directory, and (again correctly) allows me to browse for a new path. However, once installed, if I re-run the installation program and select the Change option, then

[WiX-users] Add Registry Value to a variable

2007-07-20 Thread Martin Österreicher
Hello! How can I read out a Registry Value and put it into a variable? I would be so grateful, if you could help me! -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger --

[WiX-users] Put a global property into a variable

2007-07-20 Thread oesimartin
Does anybody know, how to put a global property into a variable??? Thanks and greetings! -- View this message in context: http://www.nabble.com/Put-a-global-property-into-a-variable-tf4116179.html#a11705450 Sent from the wix-users mailing list archive at Nabble.com. --

[WiX-users] Disabling Cancel button in XP fails where as in Vista It works fine.

2007-07-20 Thread Subhash Badri
Hello WIX users, My requirement: When I start a Custom action (launching another package, which take considerable time) I want to remove the cancel button, coz I don't want people to cancel the installation during the child installation. My Installation: 1. A DLL to remove the cancel butt

[WiX-users] How can I read out a Registry Value and put it into a variable?

2007-07-20 Thread oesimartin
How can I read out a Registry Value and put it into a variable? I would be very grateful, if you could help me!!! -- View this message in context: http://www.nabble.com/How-can-I-read-out-a-Registry-Value-and-put-it-into-a-variable--tf4116130.html#a11705293 Sent from the wix-users mailing list

[WiX-users] Preventing install on non-fixed drives

2007-07-20 Thread Anidil
Has anybody configured WIX to prevent install on non - fixed drives? Any comments will be appreciated TIA Anidil -- View this message in context: http://www.nabble.com/Preventing-install-on-non-fixed-drives-tf4116006.html#a11704953 Sent from the wix-users mailing list archive at Nabble.com. -

[WiX-users] To prevent install on non-fixed drive

2007-07-20 Thread Praveen Anidil
Any idea to configure WIX to prevent the install on a non-fixed drive? TIA Anidil - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070m

Re: [WiX-users] Installing multi-instances, have anyone tried it?

2007-07-20 Thread md5hans
Ok, thanks!! I will read the article, and try to understand :-). The application that I am working on is creating MSi-packages (using WIX) based on some user input, do you think it will be possible to automate the the creation of the transform files? Maybe I should have read the article befor

Re: [WiX-users] Is there string manipulation in WIX?.

2007-07-20 Thread Sebastian Brand
Hello, I know this doesn't help much, but you will at least have to write a vb or jscript custom action. Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Jul 19, 2007, at 11:42 PM, Venkatesh Malepati wrote: > I could not find any topic which does string manipula

Re: [WiX-users] Installing multi-instances, have anyone tried it?

2007-07-20 Thread Sebastian Brand
WiX cannot create Transform files. Yet. Rob? :-) You will need to use another tool to create the transform files. MSDN also has an article "Authoring Multiple Instances with Instance Transforms" (http://msdn2.microsoft.com/en-US/library/aa367797.aspx) which contains a list of what to actuall

Re: [WiX-users] Help to create autorun feature

2007-07-20 Thread Sebastian Brand
Hello, Wix is not for building autorun.inf files for your distribution media. Wix is for the installation msi files. Autorun.inf is just an ini file and can be created with any text editor. See http://msdn2.microsoft.com/en-us/library/aa969327.aspx for a reference of the contents of autorun

Re: [WiX-users] Extension registered but not accepted by windows

2007-07-20 Thread Rob Hamflett
Possibly you want [!EMACSPATH] instead of ![EMACSPATH]. Rob Brian Elmegaard wrote: > Hi, > > I have added some extensions to the file types in my installer. I make > them like this: >Guid="1b773f20-6644-11da-ac2c-00904b6c2734"> >/> > >

Re: [WiX-users] Custom rollback custom action...

2007-07-20 Thread Rob Hamflett
It sounds like maybe you've forgotten to get the CA to check the return code? Are you specifying [EMAIL PROTECTED]"check" ? Rob Rory Clark wrote: > I have a custom action that makes configuration changes. I want to > modify it so that if it fails it can rollback the install or uninstall. > A

Re: [WiX-users] How to delete a file that has created by an external program.

2007-07-20 Thread Rob Hamflett
You need to give RemoveFile the name of the file it's supposed to remove. Something like this: Rob srinivas nomu wrote: > I am now successfully call an exe to write a license.dat file. However, > I have a small problem. > 1) When I unistall how should I delete manually this file?. > I used th

Re: [WiX-users] Detecting previously installed compoents on major upgrade

2007-07-20 Thread Sebastian Brand
Has this been resolved yet? How can I use a ComponentSearch if the KeyPath is a registry value (which is the case quite often)? Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Feb 23, 2007, at 2:53 AM, Rob Mensching wrote: > Can you share out some of the .wxs co

[WiX-users] Extension registered but not accepted by windows

2007-07-20 Thread Brian Elmegaard
Hi, I have added some extensions to the file types in my installer. I make them like this: They are stored in windows when I run the installer, but when I

Re: [WiX-users] Got the msi I wanted working

2007-07-20 Thread Brian Elmegaard
"Mike Dimmick" <[EMAIL PROTECTED]> writes: Thanks a lot for your answers. > ICE66 says that MsiFileHash was new in Windows Installer 2.0 (there is > table and overwrites the file anyway - but you can prevent it by setting > Package/@InstallerVersion to 150 or higher. I get a candle error if I s

Re: [WiX-users] Problems about running a msi against Vista

2007-07-20 Thread Tony Hoyle
Hao Liu wrote: > 2. I signed my custom actions (a setup dll and a remove dll) and the > msi as well. But when I run the msi, I still get the UAC prompt like: > > > > Is there any way to prevent the prompt opened? > No. You can't bypass UAC in any way. That's the point of it. Tony ---

[WiX-users] Installing multi-instances, have anyone tried it?

2007-07-20 Thread md5hans
Hi! I want my be able to run my installion several times on the same computer but with different input parameters. I have search the forum and found a couple of postings were "Multiple Instances with Instance Transforms" were suggested. Have anyony tries this? could anyone post an example? I have

Re: [WiX-users] [WiX-devs] Problems about running a msi against Vista

2007-07-20 Thread Heath Stewart
1. The NoImpersonate bit only affects deferred custom actions. This implies you're launching applications from a deferred CA. Immediate CAs typically after InstallFinalize are best suited for this (like displaying a web page or something). 2. Signing is really only necessary for the