Re: [WiX-users] Recent WIX sources will not build

2008-10-22 Thread Neil Sleightholm
That is what I thought, it worked on my Vista machine but not on a clean build of 2008. I was calling %VS90COMNTOOLS%\vsvars.bat but it still didn't set the path, I'll have to check what is different on my build machine. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED]

Re: [WiX-users] Installing shortcuts to "All Users" profile in a per-machine installation

2008-10-22 Thread Matt Siebert
If I move the shortcut to another component with a RegistryValue KeyPath with Root="HKMU" then I can avoid ICE43 and the shortcut will be created in the "All Users" profile. This doesn't 'feel' right though, it seems that there is an obvious bug in ICE since the shortcut is configured to go to a p

[WiX-users] ASP.NET on IIS

2008-10-22 Thread Eitan Behar
Hi, Please, how can I set the ASP.NET version for a Web Site ? I just want to set the general selection on the ASP.NET tab, and leave the default extensions as they are. Thanks, Eitan - This SF.Net email is sponsored by the

[WiX-users] IIS Content Expiration

2008-10-22 Thread Eitan Behar
Hi, I want to enable the content expiration on IIS, on the HTTP Headers tab.I thought that this is the HTTPExpires attribute, but or 1) I am wrong, or 2) It is not working. Please, any lead will be appreciated. Thanks, Eitan --

Re: [WiX-users] Installing shortcuts to "All Users" profile in aper-machine installation

2008-10-22 Thread Pally Sandher
In the WiX 3.0 documentation under the "How To Guides" section there is a page on creating shortcuts. This works fine without any ICE validation errors or warnings even when ALLUSERS=1 is set. Palbinder Sandher Software Deployment and IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 9

Re: [WiX-users] Installing shortcuts to "All Users" profile in a per-machine installation

2008-10-22 Thread Sébastien Mouren
2008/10/22 Matt Siebert <[EMAIL PROTECTED]>: > Hi all, > > I'm new to WiX and I'm trying to create a test install for a single file > with a shortcut in the "All Users" profile. > > The file I'm installing is going to %programfiles%\Company\Product and I > want to place a shortcut in %allusersprofi

Re: [WiX-users] Heat and COM executable registry extraction

2008-10-22 Thread Pally Sandher
I have the exact same problem with a Out-Of-Process COM server & it would be absolutely awesome if heat.exe would be able to process these in the same manner as it does for DLL's & OCX's which have a DLLRegisterServer entrypoint but I doubt that'll ever happen. I'd much prefer having the fragment f

[WiX-users] Bug in x64 build of WiX UtilExtension?

2008-10-22 Thread Pally Sandher
I'm trying to use util:XMLFile to modify the inner text of a tag in an XML file during installation which is installed by my MSI for one of our plug-ins. The XML file is named IESveInterfaceParameters.xml and contains the following code: M:\IES\apps My installer code is as follow

[WiX-users] Program Menu: How To Implement An Icon?

2008-10-22 Thread Andrew Kendall
Hi, I've worked out how to a top-level Program Menu entry which contains a nested list of shortcuts, viz: ... NOT VersionNT64 ... Though I am able to attach icons to the nested shortcuts,

Re: [WiX-users] ASP.NET on IIS

2008-10-22 Thread Kalvagadda, SivaKrishna (MLX Technology)
This is how ssearch for t he verion of installed framework Regards, SivaKrishna Kalvagadda, 201-671-5552. -Original Message- From: Eitan Behar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 4:54 AM To: Gene

[WiX-users] problems configuring MSDTC via installer

2008-10-22 Thread Scott Sam
I'm trying to configure the MSDTC settings by changing the registry values. I am able to do this by hand using regedit without any problems. When I try do this using wix I get an error. Below is the wix code followed by the error. What am I doing wrong? Is there a better way to do this?

Re: [WiX-users] Program Menu: How To Implement An Icon?

2008-10-22 Thread Sébastien Mouren
2008/10/22 Andrew Kendall <[EMAIL PROTECTED]>: > Hi, > > I've worked out how to a top-level Program Menu entry which contains a nested > list of shortcuts, viz: > > ... > > > Guid="{8597C461-16C4-4E8B-A97C-A4B80813C522}"> >NOT VersionNT64 > Name="Sav

Re: [WiX-users] Help with XmlFile, FileCopy and ExeCommand

2008-10-22 Thread Pally Sandher
I have the same problem trying to modify the inner text of a node. My code looks like the following: ... ... The contents of the IESveInterfaceParameters.xml file are as follows: M:\IES\apps And I get the same result in my log file: Action 12:08:28: ExecXmlFile. MSI

Re: [WiX-users] Bug in x64 build of WiX UtilExtension?

2008-10-22 Thread Brian Rogers
I'd recommend using XmlConfig instead of XmlFile. The following should achieve what you want: This blog post has some more examples of using XmlConfig: http://blogs.msdn.com/gisenberg/archive/2007/10/09/wix-v3-and-xmlconfig-xmlfile-troubleshooting.aspx ##

[WiX-users] XmlConfig vs XmlFile

2008-10-22 Thread Alex Ivanoff
I am a little bit confused by existence of both XmlFile and XmlConfig. Is there any docs/posts/etc on where to use which? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux

Re: [WiX-users] ASP.NET on IIS

2008-10-22 Thread Eitan Behar
Thanks Siv, But, this way I need to define every extension, is there a way that I can tell WIX to change ONLY the default extensions, similar of when doing it from IIS' GUI (on the ASP.NET tab). Regards, Eitan On Wed, Oct 22, 2008 at 4:22 PM, Kalvagadda, SivaKrishna (MLX Technology) < [EMAIL

Re: [WiX-users] Bug in x64 build of WiX UtilExtension?

2008-10-22 Thread Joel Paula (hotmail)
Hi, I was stuck with the same error. I moved on to use XmlConfig instead. I guess there really is a bug with XmlFile. Anyway, those commands only add or delete nodes. I had to delete nodes and then re-add them with the correct information. Example using XmlConfig: HTH Joel -Original Me

Re: [WiX-users] XmlConfig vs XmlFile

2008-10-22 Thread Rob Mensching
Discussion in the archives of this mailing list. In summary, XmlFile was first. XmlFile doesn't handle repair or uninstall well (or at all, in some cases). XmlConfig came second and addresses many of the issues in XmlFile. XmlConfig syntax is a bit more complicated to handle all those scenar

Re: [WiX-users] XmlConfig vs XmlFile

2008-10-22 Thread Chad Petersen
I believe they are very much interchangeable. I've got one existing project that I use XMLFile in some older routines and XMLConfig in the newer ones. I personally prefer XMLConfig. In searching the last few weeks of posts here the questions are about XMLConfig, not XMLFile, so I have a hunch more

Re: [WiX-users] Help with XmlFile, FileCopy and ExeCommand

2008-10-22 Thread Joel Paula (hotmail)
I ended up using XmlConfig instead. -Original Message- From: Pally Sandher [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 4:32 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Help with XmlFile, FileCopy and ExeCommand I have the same pro

Re: [WiX-users] Bug in x64 build of WiX UtilExtension?

2008-10-22 Thread Joel Paula (hotmail)
Sorry, I was using my own code and didn't complete the example. Here is the correction: Joel -Original Message- From: Joel Paula (hotmail) [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 5:11 PM To: 'General discussion for Windows Installer XML toolset.' Subject: RE: [WiX-

Re: [WiX-users] Bug in x64 build of WiX UtilExtension?

2008-10-22 Thread Rob Mensching
XmlFile is limited. That's why we created XmlConfig. -Original Message- From: Joel Paula (hotmail) [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 09:11 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Bug in x64 build of WiX UtilExtension?

Re: [WiX-users] Bug in x64 build of WiX UtilExtension?

2008-10-22 Thread Joel Paula (hotmail)
Brian, XmlConfig only allows for adding or deleting elements. I understand this is more straightforward when you want to rollback. How do you "edit" an XML file? XmlFile seemed to be the thing to use, but it always throws the error " ExecXmlFile: Found Wow64 API, but unable to link to Wow64Di

Re: [WiX-users] grant permissions on a folder to a specific userifthe user happens to be NT AUTHORITY\Network Service

2008-10-22 Thread Amy Rosewater
That was a great idea Michael, and I tried it but the PermissionEx element is still failing to add the appropriate permissions to the directory. Now instead of failing to add permissions for Network Service it fails to add permissions for the IIS_WPG. Is anyone else having a similar problems with

Re: [WiX-users] ASP.NET on IIS

2008-10-22 Thread Chad Petersen
I'll throw this out as an option I have been using since we converted to .NET 2.0. No calls on it, so I have to assumje it is working great. All it does is set ASPNET 2.0 as the version on the ASP.NET tab in IIS. We require 2.0 to be installed prior to running our installer. I gather the [SITE_ID]

Re: [WiX-users] ASP.NET on IIS

2008-10-22 Thread Luke Bakken
> But, this way I need to define every extension, is there a way that I can > tell WIX to change ONLY the default extensions, similar of when doing it > from IIS' GUI (on the ASP.NET tab). There aren't that many extensions ... I would just enumerate them all. -

Re: [WiX-users] Bug in x64 build of WiX UtilExtension?

2008-10-22 Thread Brian Rogers
Hmm, I guess there is no straightforward way to edit existing values in an XML file with XmlConfig. As you mention, if it were possible, it would make it hard to rollback changes if something goes wrong (it would somehow have to read and store the original value so it could be reverted later).

Re: [WiX-users] Bug in x64 build of WiX UtilExtension?

2008-10-22 Thread Rob Mensching
XmlConfig *can* edit existing XML files and on rollback it reverts any changes it makes. XmlFile does not have those capabilities. -Original Message- From: Brian Rogers [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 09:42 To: General discussion for Windows Installer XML tool

Re: [WiX-users] grant permissions on a folder to a specific userifthe user happens to be NT AUTHORITY\Network Service

2008-10-22 Thread Rob Mensching
What does a verbose log file say? -Original Message- From: Amy Rosewater [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 09:31 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] grant permissions on a folder to a specific userifthe user happens

Re: [WiX-users] ASP.NET on IIS

2008-10-22 Thread Eitan Behar
Well, the issue is that I have several setups which have a few Web Applications each, and each one is supported by a different team, therefore I wanted something "easy" to tell everyone to do -Original Message- From: Luke Bakken [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22,

[WiX-users] Candle/Light output to output window within dev studio?

2008-10-22 Thread Brian Gillespie
Hi, We automate our daily builds by running devenv on the command line (instead of using MsBuild, because it looks like a big learning curve). For example: devenve.exe /build "Beta_EN|x64" /project "MyProj.wixproj" /out "MyProj.log" We've got a lot of WiX source files in our installers, and we

[WiX-users] Getting Error LGHT0102

2008-10-22 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi Runnning Light command from command line, I am getting LGHT0102 error . Please find the error: c:\delivery\dev\wix\src\ext\sqlextension\wixlib\sqlextension.wxs(18) : error LGHT0102 : The localization variable !(loc.ConfigureSql) is unknown. Please ensure the variable is defined. Please help

Re: [WiX-users] Bug in x64 build of WiX UtilExtension?

2008-10-22 Thread Brian Rogers
I think the problem here is that there is no corresponding "uninstall" action for an operation like the following: (Sample text for SOMEEXISTINGFILE:) ORIGINAL TEXT, THIS COULD BE ANYTHING I do see that rollback works in the case of a problem during installation (I just tested it and it rev

Re: [WiX-users] Candle/Light output to output window within dev studio?

2008-10-22 Thread Brian Rogers
MSBuild actually integrates quite nicely with VS projects and solutions. Using your example below, you should be able to do this: MSBuild.exe /p:Configuration=Beta_EN /p:Platform=x64 MyProj.wixproj You should be able to do this for any SLN file, in fact... it generally "just works." ###

Re: [WiX-users] Bug in x64 build of WiX UtilExtension?

2008-10-22 Thread Rob Mensching
XmlConfig does not automatically create an uninstall step for you. That's why there is the "On" attribute. You get to specify what you want to have happen on uninstall. Much like SQL Strings/Scripts. -Original Message- From: Brian Rogers [mailto:[EMAIL PROTECTED] Sent: Wednesday, Octo

Re: [WiX-users] Candle/Light output to output window within dev studio?

2008-10-22 Thread Brian Gillespie
Thanks Brian, I'll give it a shot. OT: Nice sig, though I admit hoping for more of an easter egg after running it through the interpreter :) Is this stunnix output? - Brian Brian Gillespie Rhinoceros Development | Robert McNeel & Associates | http://www.rhino3d.com /"In theory, there is no

Re: [WiX-users] Getting Error LGHT0102

2008-10-22 Thread Joel Paula (hotmail)
This probably happens because you are trying to build a culture other then en-us. Get WiX source code, go to folder \src\ext\SqlExtension\wixlib\ and get the en-us.wxl language file. Make a copy of it, but translated to the culture you are using, and include it in your project. Joel Paula

[WiX-users] Torch generating mst with cabs question

2008-10-22 Thread Michael Ballou
I have two MSI's built with Wix that are the same except one MSI has a couple extra files in it. The extra files are stored in a separate .cab file embedded in the MSI. All cabs are embedded in the MSI's. I then use torch.exe to generate an MST file so that I can later transform the smaller i

Re: [WiX-users] Recent WIX sources will not build

2008-10-22 Thread Neil Sleightholm
I think I have figured this out, if you run the shortcut that VS2008 sets up "Visual Studio 2008 Command Prompt" ("C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86) it doesn't include the framework in the path. But if you run "%VS90COMNTOOLS%\vsvars32.bat" or the "Visual Studio 20

[WiX-users] Getting the MSI Main UI window handle

2008-10-22 Thread Michael Owings
I have some C++ custom actions in my installer that will occasionally pop up message box warnings or prompts. I'm using NULL (Desktop) as the parent window handle for these message boxes, but under vista, they tend to show up hidden beneath the main WIX ui. Is there a way to get a useable windo

Re: [WiX-users] Getting the MSI Main UI window handle

2008-10-22 Thread Rob Mensching
Use MsiProcessMessage() and the right thing happens. -Original Message- From: Michael Owings [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 13:56 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Getting the MSI Main UI window handle I have some C

[WiX-users] Building WiX

2008-10-22 Thread Neil Sleightholm
If anyone is interested in building WiX from the source I have written a blog that details the bits that aren't in the help file: http://neilsleightholm.blogspot.com/2008/10/how-to-create-wix-build-mach ine.html. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED]

Re: [WiX-users] Getting the MSI Main UI window handle

2008-10-22 Thread Michael Owings
Works perfectly -- thanx. Rob Mensching wrote: > Use MsiProcessMessage() and the right thing happens. > > -Original Message- > From: Michael Owings [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2008 13:56 > To: General discussion for Windows Installer XML toolset. > Subject: [W

Re: [WiX-users] Building WiX

2008-10-22 Thread Rob Mensching
Can we get the appropriate details added to the help file? Detailed bugs would be fantastic. -Original Message- From: Neil Sleightholm [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 15:08 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Building

Re: [WiX-users] Error 0x800706d9: failed to get firewall profile

2008-10-22 Thread Wendell Joost
Looking through the code, I'm seeing that ExitOnFailure is being called in firewall.cpp/GetFirewallProfile, the line that contains: hr = pfwPolicy->get_CurrentProfile(ppfwProfile); ExitOnFailure(hr, "failed to get current profile"); So, any tips on how I get ExitOnFailure to *not* displa

Re: [WiX-users] Error 0x800706d9: failed to get firewall profile

2008-10-22 Thread Rob Mensching
ExitOnFailure does not show message boxes. -Original Message- From: Wendell Joost [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 15:58 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Error 0x800706d9: failed to get firewall profile Looking t

Re: [WiX-users] UPGRADINGPRODUCTCODE is not working

2008-10-22 Thread Wilson, Phil
Unfortunately we're picking at this bit by bit and not actually getting all the information required to solve this. It seems that the actual issue is that your custom action is failing, basically because you have some kind of installer class custom action that depends on the presence of an Inst

[WiX-users] Custom action Error

2008-10-22 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi, I have one custom action to start the service. If some service is not getting start , I want to invoke user defined error message. Please suggest how can I do this. Regards Sandeep - This SF.Net email is sponsored by the

Re: [WiX-users] Error 0x800706d9: failed to get firewall profile

2008-10-22 Thread Wendell Joost
When I stop the Firewall service (Windows Firewall, Internet Sharing Service (SharedAccess)) and run setup and it executes: get_CurrentProfile executes in firewall.cpp/GetFirewallProfile http://msdn.microsoft.com/en-us/library/aa365325(VS.85).aspx I get an error: (HRESULT_FROM_WIN32(EPT_S_NOT_R

Re: [WiX-users] Error 0x800706d9: failed to get firewall profile

2008-10-22 Thread Rob Mensching
If you do a silent (/qn) install the dialogs should not appear. -Original Message- From: Wendell Joost [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 16:41 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Error 0x800706d9: failed to get firewa

[WiX-users] Passing command line arguments to an app launched after setup

2008-10-22 Thread chaiguy1337
Hi all. I'm looking for a way to pass command line arguments to my app launched when the installation is complete, so that my app knows it was launched by the installer. I basically copied the example from the help file: Where might I add my "-installer" switch? I tried changing the Value of

Re: [WiX-users] Installing shortcuts to "All Users" profile in a per-machine installation

2008-10-22 Thread Matt Siebert
Please forgive my ignorance but creating a per-user reg key as a keypath for a per-machine shortcut seems very wrong in that the reg key can easily become orphaned. Perhaps this is why the Windows Server 2008 Software Logo Specificationsdon't include

Re: [WiX-users] Error 0x800706d9: failed to get firewall profile

2008-10-22 Thread Bob Arnson
Wendell Joost wrote: > The GetFireWallProfile is causing the ErrorDialog to display with the > error message and abort/retry/ignore. I'm trying to track down > exactly what causes this to display and, if possible, make it not > display. ANy tips/pointers most appreciated. > Right now, that di

Re: [WiX-users] Passing command line arguments to an app launched after setup

2008-10-22 Thread Bob Arnson
chaiguy1337 wrote: > Hi all. I'm looking for a way to pass command line arguments to my app > launched when the installation is complete, so that my app knows it was > launched by the installer. > > I basically copied the example from the help file: > >Value="[#OrangeNote.exe]" /> >

Re: [WiX-users] Error 0x800706d9: failed to get firewall profile

2008-10-22 Thread Bob Arnson
Rob Mensching wrote: > If you do a silent (/qn) install the dialogs should not appear. > Or /qb, for passive UI. -- sig://boB http://joyofsetup.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's

Re: [WiX-users] Torch generating mst with cabs question

2008-10-22 Thread Bob Arnson
Michael Ballou wrote: > I then use torch.exe to generate an MST file so that I can later > transform the smaller install to the large one. The problem is that > torch doesn't seem to be including the extra embedded cab file. The > transform is very small (6K), and when I apply it to the small MSI

Re: [WiX-users] Passing command line arguments to an app launched after setup

2008-10-22 Thread chaiguy1337
Is there a particular reason the example in the help file didn't use "normal" exe custom actions? I don't want to do something that might cause problems later. Bob Arnson-6 wrote: > > chaiguy1337 wrote: >> Hi all. I'm looking for a way to pass command line arguments to my app >> launched when t

Re: [WiX-users] Passing command line arguments to an app launched after setup

2008-10-22 Thread Bob Arnson
chaiguy1337 wrote: > Is there a particular reason the example in the help file didn't use "normal" > exe custom actions? I don't want to do something that might cause problems > later. > Because a more typical use case is to launch a document (like a readme.html or .pdf). WixShellExec was desi

Re: [WiX-users] Passing command line arguments to an app launched after setup

2008-10-22 Thread chaiguy1337
I wasn't talking about launching another install, I was talking about launching the application that was just installed. I guess that makes sense as to why ShellExec was chosen for the example. I will fiddle around with normal custom actions and see if I can get it working. Bob Arnson-6 wrote: >

Re: [WiX-users] Passing command line arguments to an app launched after setup

2008-10-22 Thread chaiguy1337
Thanks! Got it working. Bob Arnson-6 wrote: > > chaiguy1337 wrote: >> Is there a particular reason the example in the help file didn't use >> "normal" >> exe custom actions? I don't want to do something that might cause >> problems >> later. >> > > Because a more typical use case is to laun

Re: [WiX-users] Skip dialog during uninstall

2008-10-22 Thread Sergey Abakumoff
Thanks for the prompt reply. We agreed to move licensing dialog to before the install, namely exactly after Welcome dialog that is shown after CostFinalize. However, I faced another problem that I hope you can help me to solve. In our licensing dialog users enter their licensing info and we should

Re: [WiX-users] Skip dialog during uninstall

2008-10-22 Thread Brian Rogers
You can embed the EXE as a binary resource in the MSI. Then you can write a custom action which extracts it to a temporary folder and runs it. ## $_='^#(/||/@[EMAIL PROTECTED]@:^[-['^";@@@\\>])@.". "{)/];)^{";$,+=(++$,);$_.=">&$,";`$_`; -Original Message

Re: [WiX-users] WiX UI / Spawn dialog position

2008-10-22 Thread Andy2k8
Thanks for that..How do i change HCentering and VCentering columns for a message box displayed through directive? Or is there any other way i can position condition dialogs? Richard-45 wrote: > > > In article <[EMAIL PROTECTED]>, > Andy2k8 <[EMAIL PROTECTED]> writes: > >> Is there any w

Re: [WiX-users] Skip dialog during uninstall

2008-10-22 Thread Luo Bingqiao
I am so sorry to bother u all... I have tried all I can to get this paper, and it is exactly what I want: http://portal.acm.org/citation.cfm?doid=1176617.1176709 I can't help waiting to read it How can I get it? Thanks a loot.. Best regards... -Original Message