Re: [WiX-users] WixShellExec & CAQuietExec & their options

2007-08-23 Thread Schrieken, Rene
The CreateProcessW is called with NULL as its currentdirectory parameter. From the win32 sdk: "If this parameter is NULL, the new process will have the same current drive and directory as the calling process" As msiexec is in system32... I'm not sure if this might work: make your commandline

[WiX-users] WIX preprocessor problem with variables

2007-08-23 Thread Sameeksha Chepe
HI ALL, I am trying out WIX preprocessor directives ifdef / ifndef. For any environment or local variable WIX is not able to set the 'ifdef' condition to true, although the variable is defined. For example, the condition fails, same with . Similarly the following 2 statements do not work as e

[WiX-users] The localization variable unknown error

2007-08-23 Thread Chetser Yang
Hi I'm new to Wix and I install Wix 3.0 into VS2005. When I try to create a web virtual directory, I got the following error. The localization variable !(loc.ConfigureIIs) is unknown. Please ensure the variable is defined. I guess there might be a switch or something I missed. Who can hel

[WiX-users] Conditional Show Dialog with onExit

2007-08-23 Thread Steve S
Hey all, Fairly simple problem for most that I'm having. It's an issue with my UI sequence on the exit. Using wix 3.x, I want to conditionally choose to show one Dialog or the other. Something like this (which was ok for wix 2.x but yet again I'm having trouble when moving to 3.x :|):

[WiX-users] Dots in Projectname?

2007-08-23 Thread Stefan Seifert
Hello, I got a Projectname like My.App, I want to access Targetdir like "$(var.My.App.TargetDir)\my.application.dll" so I'll always capture the right dll independent from the configuration (Debug|Release) taken to compile the project. But that doesn't work. I noticed it should work if you exchan

Re: [WiX-users] How to display text in /qb! dialog

2007-08-23 Thread Ben Greenberg
Thanks for the reply. I have both Product/@Language and Package/@Languages set to 1033. When I open the package in Orca, I can see that Language is set to 1033 in the Property table. But I still get the blank window behavior. Any other ideas on what could be causing this problem? Thanks, Ben

[WiX-users] Register DLL for Com Interop

2007-08-23 Thread Stefan Seifert
Hello, I've created a DLL with the "Register for COM interop" option turned on. This dll should be deployed via my setup project and automatically registered. I'm using latest WiX 3.0 and extracted registry informations via heat but the dll doesn't get registered for some reason. Is there a easy

[WiX-users] WixShellExec & CAQuietExec & their options

2007-08-23 Thread koawmfot
I need to lauch an executable at the end of my installation. currently i use the CAQuietExec function and launch the executable with its parameters and it is fine. the problem is that the command i execute creates a result text file. the file is supposed to be created in the application's INSTAL

Re: [WiX-users] Heat not generating Wix code that compiles

2007-08-23 Thread Karthik Krishnan
You'll also encounter similar issues with Class elements, you'll have to move those under File as well. Because of the way autogenerated Ids work, I usuall end up manually entering Ids for any RegistryValue with value "mscoree.dll", because otherwise you get duplicate Ids. I ended up writing a li

Re: [WiX-users] WebDir Element........

2007-08-23 Thread Karthik Krishnan
Try using http://wix.sourceforge.net/manual-wix2/wix_xsd_webvirtualdir.htm and http://wix.sourceforge.net/manual-wix2/wix_xsd_webdirproperties.htm in conjunction with your WebDir. After adding "xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension"; to the Wix element, I use DirectoryRef/Compo

[WiX-users] Registry Entry befor Service Install

2007-08-23 Thread Trevor Clifton
Hello all, I am looking for the proper way to add registry values that are read by my service once my service is installed. This means that the values need to already be committed to the registry by the time the service is installed and runs for the first time. Then, when uninstall is run, I n

Re: [WiX-users] Help Needed ......

2007-08-23 Thread Wilson, Phil
Those look fairly straightforward to me. The first 6 are tables that don't belong in an MSI file anyway, so delete them from the base MSI file or from the wxs. Similarly, just delete the MsiUnpublishAssemblies action from the AdvtExecuteSequence table. When you say "..build this .wxs file

Re: [WiX-users] GDI+ MergeModule

2007-08-23 Thread Wilson, Phil
See if this helps. It describes the issue. The summary seems to be that Microsoft didn't update the merge module but InstallShield did, so your safest approach is to use that InstallShield one (and you could use Orca if you really want to check that the file version there in the merge module is the

Re: [WiX-users] Help Needed ......

2007-08-23 Thread Karthik Krishnan
I don't think Dark has been completely updated for use with WiX v3 yet. You might have better luck with v2. That being said, I've never trusted the output from Dark for anything other than a reference point to begin work from. On 8/22/07, V K Gangwar <[EMAIL PROTECTED]> wrote: > > Dear All, > >

Re: [WiX-users] Executing embedded MSI's

2007-08-23 Thread Julie Campbell
Sorry for the confusion John, thanks for the correction Bob. I renamed the wiki page title to correct. Julie Campbell [EMAIL PROTECTED] -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 23, 2007 11:28 AM To: Julie Campbell Cc: wix-users@lists.sourcefor

Re: [WiX-users] [WiX-devs] XmlFile failing to open installed file

2007-08-23 Thread Bob Arnson
John Hancock (HSG) wrote: I discovered that if the XML file encoding is utf-8 instead of utf-16 that the XmlFile action works properly. It appears that the utf-16 encoding prevents the XML file from being loaded properly, which is why I was seeing that the file was opened properly in filemon b

Re: [WiX-users] Executing embedded MSI's

2007-08-23 Thread Bob Arnson
Dix, John wrote: We have a server setup process whose document is 60+pages in length in Arial 10pt font. I am trying to automate and make turn-key this process as much as possible and part of this setup involves installing applications and SDK's that are already packaged in MSI's. Hence my n

Re: [WiX-users] How to display text in /qb! dialog

2007-08-23 Thread Bob Arnson
Ben Greenberg wrote: > I have created an MSI with WiX that I am installing via a bootstrapper. I > install the MSI by passing /qb! to msiexec. I have seen packages installed > this way where MSIEXEC will show some text aong the lines of "Please wait > while Windows configures APPNAME..." But,

Re: [WiX-users] Determine path of MSI log from within executable CA?

2007-08-23 Thread Bob Arnson
Jared Hughes wrote: > Is there an easy way to programmatically (C#) determine the path and > filename of the log file for the current MSI session? On Windows Vista and Server 2008, MSI 4.0 provides the MsiLogFileLocation property. It's not available on XP or 2000. -- sig://boB http://joyofsetu

Re: [WiX-users] remove registry key on uninstall of msi

2007-08-23 Thread Bob Arnson
I-Efimoff, Natalie wrote: > I am using Wix to genereate an msi that will add a registry key value and I > would like to remove the value on an uninstall of the msi. See the RemoveRegistryKey and RemoveRegistryValue elements. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] Executing embedded MSI's

2007-08-23 Thread Bob Arnson
Julie Campbell wrote: > http://wix.mindcapers.com/wiki/Embed_a_Third_Party_MSI > That works because DirectX *isn't* delivered as an MSI package. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by:

Re: [WiX-users] How to cancel an installation (using CancelDlg)?

2007-08-23 Thread Bob Arnson
md5hans wrote: > Ok, but how can I set the Y attribute on a CancelDlg? > You'd have to replace the dialog; there's no way currently to override particular attributes on a dialog coming from a library. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Rollback not rolling all back

2007-08-23 Thread Bob Arnson
Reggie Burnett wrote: > BTW, are there any suggested ways of detecting that a CA has failed > and showing a nice error message to the user instead of 'Error : > a program has failed to complete' type of message? In a DLL CA, you can use something like MsiProcessMessage to show a custom err

Re: [WiX-users] A bug in the ConfigureSmb?

2007-08-23 Thread Bob Arnson
Ivan A. Gusev wrote: > I disregarded it before, but user is also removed after Version2 is installed. > I'm fresh out of ideas. Please file a bug with your samples attached. We'll need to dig deeper in. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] GDI+ MergeModule

2007-08-23 Thread Schrieken, Rene
I have no experience with Installshield so I cannot comment on that. And if you have a working merge module that will`save time but i really wonder what the benefit is if it is not findable and does not work as intended. This snippet might help you out. Disclaimer: I'm not good at conditions so

Re: [WiX-users] wixDir Element...............

2007-08-23 Thread Schrieken, Rene
http://www.tramontana.co.hu/wix/lesson6.php#6.3 Good learning startpoint anyway: http://www.tramontana.co.hu/wix/ From: [EMAIL PROTECTED] on behalf of Abhishek,HiRePro Sent: Thu 8/23/2007 12:02 To: wix-users@lists.sourceforge.net Subject: [WiX-users] wixDir

Re: [WiX-users] wixDir Element...............

2007-08-23 Thread Schrieken, Rene
How about this (not tried it though)? Please keep follow ups on the list. From: Abhishek,HiRePro [mailto:[EMAIL PROTECTED] Sent: Thu 8/23/2007 13:10 To: Schrieke

[WiX-users] wixDir Element...............

2007-08-23 Thread Abhishek,HiRePro
Hi, I am New to Wix and am learning. Now I need to host the site in iis and have tried some examples I have the example below which I am using but I need to host all files in the specified directory For this purpose I think I should use webDir Element.. I don't k

Re: [WiX-users] GDI+ MergeModule

2007-08-23 Thread stian
Schrieken, Rene wrote: > > I have no experience with gdi+ but afaik it is just one download: > http://www.microsoft.com/downloads/details.aspx?FamilyID=6a63ab9c-df12-4d41-933c-be590feaa05a&DisplayLang=en > Thanks. Well, I found this site before, but this is the dll, and not the Merge Module -

Re: [WiX-users] GDI+ MergeModule

2007-08-23 Thread Schrieken, Rene
I have no experience with gdi+ but afaik it is just one download: http://www.microsoft.com/downloads/details.aspx?FamilyID=6a63ab9c-df12-4d41-933c-be590feaa05a&DisplayLang=en For WinXP and up you shouldn't Install it, for Win2k and lower you should put the file in the same folder as your applica

[WiX-users] GDI+ MergeModule

2007-08-23 Thread stian
Hi, I have an MSI where I need to include gdiplus.dll to make it run on Win2k as this is not included by default. I've read that there exists a MergeModule for this file; can someone verify that this is correct? I've been googling like crazy, but I can't find it. Can someone point me in the right