[WiX-users] New Wix User v3

2009-04-07 Thread Ben Charlton
Sorry to ask stupid questions all but I am a new wix user – I decided to skip learning v2 and just throw myself into v3 Going pretty well but it seems to me the v3 installer doesn’t include the .wix libraries ie wixui.wixlib etc or the localization files…. I did try the v2 files but obviously the

Re: [WiX-users] Is there a Windows Installer API for extracting cabinet files?

2009-04-07 Thread Neil Sleightholm
Take a look at the DTF that ships with WiX. Neil -Original Message- From: Karma [mailto:dongl...@gmail.com] Sent: 08 April 2009 01:13 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Is there a Windows Installer API for extracting cabinet files? Just to clarify one thing. T

Re: [WiX-users] is customaction impersonate attribute default when attribute is not specified "yes" or "no" . . . the current chm details does not say which

2009-04-07 Thread Robert O'Brien
Done. 2742593 "update docs to more specific wrt default impersonate value" -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Friday, January 30, 2009 12:24 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] is customactio

Re: [WiX-users] using torch.exe -ax to enable use of admin install msi target and update input parameter values

2009-04-07 Thread Robert O'Brien
Was probably using wix 3.0.4004.0 back when this thread was sent. -Original Message- From: Heath Stewart [mailto:clubs...@gmail.com] Sent: Friday, April 03, 2009 12:07 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] using torch.exe -ax to enable use

[WiX-users] Supporting both Full UI and No UI?

2009-04-07 Thread He Shiming
Hi, I built a setup package with customized WixUI . I'm using a custom version of WixUI_InstallDir mode. And I added a few custom actions including: launch app after setup (WixShellExec), execute a command after installfinalize (http://p.sf.net/sfu/www-ibm-com _

[WiX-users] mergemod CAs not getting into InstallExecuteSequence

2009-04-07 Thread Alan Sinclair
I've got a merge module that's used successfully in dozens of packages. BUT ... in a new MSI the mergemod's custom actions are missing from the InstallExecuteSequence although they are getting into the CustomAction table. What might cause this? I'm building the package under VS2008 with WiX 3.

[WiX-users] is it a bug that iis:WebSite doesn't locate presence of existing website using just the Name attribute value versus port settings?

2009-04-07 Thread Robert O'Brien
We have a service deliverable msi where optionally have some w08/iis70 "Default Web Site" vdir settings we want to apply and some "Site1 Web Site" and "Site2 Web Site" settings we want to apply (see relevant excerpt below). We need to allow for deployments where "Site1 Web Site" and "Site2 Web

Re: [WiX-users] Patching Issue

2009-04-07 Thread Wilson, Phil
I can't see Windows Installer forcing handles closed when they are references to files, libraries, services etc. Thinking about "what would happen if MSI did this" there would be some nasty effects. Running programs with valid handles to Windows objects would suddenly find that they are null (o

Re: [WiX-users] Is there a Windows Installer API for extracting cabinet files?

2009-04-07 Thread Karma
Just to clarify one thing. The reason why I don't want to use msidb.exe is because the program does not return any command line error values. -- View this message in context: http://n2.nabble.com/Is-there-a-Windows-Installer-API-for-extracting-cabinet-files--tp2602175p2602299.html Sent from the

[WiX-users] Is there a Windows Installer API for extracting cabinet files?

2009-04-07 Thread DONG LEE
Is there a Windows Installer API that I can use to extract cabinet files out of a msi file? msidb.exe does the job, but it doesn't seem to be setting %errorlevel% at all. I need to extract the cabinet file in a commandline based build process in order to sign it with a certificate. The signing proc

Re: [WiX-users] Invalid value for registry entry?

2009-04-07 Thread David Bartmess
Never mind, just had to look closer... an errant '=' in the sequence... From: David Bartmess Sent: Tuesday, April 07, 2009 4:24 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Invalid value for registry entry? Is there a length limit on

[WiX-users] Invalid value for registry entry?

2009-04-07 Thread David Bartmess
Is there a length limit on the registry binary values? Not sure why I'm all of a sudden getting this error. I had built it once before and didn't get this problem... Error 94 ICE70: The value '#x49504D2E4170706F696E746D656E742E4D61657374726F2E4170706F696E746D656E740049504D2E4170706F696E746D656E

[WiX-users] Unexpected behaviour in PerformanceCounter uninstall rollback

2009-04-07 Thread Paul Nearney
Hi all, I am using PerformanceCategory and PerformanceCounter from the Utils extension to install some custom performance counters for my windows service. I am using the WixFailWhenDeferred custom action to test rollback scenarios, and I have noticed that the Uninstall rollback scenario is not

Re: [WiX-users] Check for IIS application pools

2009-04-07 Thread Alex Cater
can i check for an installed IIS and list the available application pools? The avaliable application pools should be listed in a listbox control. If you want to take the DTF route then this may help: WiX and DTF: Using a Custom Action to list available web sites on IIS -- View this message

Re: [WiX-users] Check for IIS application pools

2009-04-07 Thread Luke Bakken
> can i check for an installed IIS and list the available application pools? > The avaliable application pools should be listed in a listbox control. %SystemRoot%\system32\cscript.exe %SystemDrive%\Inetpub\AdminScripts\adsutil.vbs ENUM "/W3SVC/AppPools/" Look into the adsutil.vbs script for how t

Re: [WiX-users] how to change an installed package?

2009-04-07 Thread Karl Denning
You can identify the msi by searching each MSI for your CA in the execute sequence using msi sql. The sequenced CA should have a signature that you can easily detect (the name of your CA, the target, the wrong condition being parts of the signature). On second thoughts, this technique is unlike

Re: [WiX-users] how to change an installed package?

2009-04-07 Thread Alan Sinclair
Thanks that will do it, provided that during the enumeration I can identify the original msi (which is created by our customers, as I'm just shipping a merge module.) I'd imagined using the handle of the currently-running msi (the newer version that's going to run RemoveExistingProducts) to get

Re: [WiX-users] Check for IIS application pools

2009-04-07 Thread mcheshier
We had to write a bunch of ADSI custom action code using C# and the DTF. It's not fun but it can be done. Hello, can i check for an installed IIS and list the available application pools? The avaliable application pools should be listed in a listbox control. Thanks Thomas Bahn ---

[WiX-users] DTF build issue

2009-04-07 Thread mcheshier
Hi, I've been slowly converting a lot of VBScript custom actions to the DTF and am loving it. I'm having a weird build issue though and was hoping someone could help me out. On my primary dev machine when I build my CA.dll it creates a 660 KB .dll that mysteriously and randomly dies in the mid

Re: [WiX-users] Check for IIS application pools

2009-04-07 Thread Rob Mensching
Yes, it is possible but requires a fair bit of CustomAction work. We haven't added such a thing to the WiX toolset yet... Bahn Thomas wrote: > Hello, > > can i check for an installed IIS and list the available application pools? > The avaliable application pools should be listed in a listbox cont

Re: [WiX-users] ICE64: The directory ProgramMenuDir is in the user profile but is not listed in the RemoveFile table.

2009-04-07 Thread Rob Mensching
It's annoying. This old blog entry should explain more: http://robmensching.com/blog/archive/2007/04/27/How-to-create-an-uninstall-shortcut-and-pass-all-the.aspx Lanteigne, Alan wrote: > Hello Wix World: > > While trying to setup a shortcut to an EXE, I'm getting this error: > > ICE64: The dire

Re: [WiX-users] Votive not working in build 3.0.5207

2009-04-07 Thread Jason Ginchereau
This regression was reported on wix-devs last week. Sorry I didn't get the fix in last week's build, but it is a top priority. The regression was from a fix I did for bug 2663956 "Eror creating or opening a Load Test". Christopher, if necessary you can use different builds of DTF and Votive, as

Re: [WiX-users] Votive not working in build 3.0.5207

2009-04-07 Thread Neil Sleightholm
I have just confirmed this on another PC. Create a new WiX project, right click on project and select "Add | New folder" and you get an error "The operation cannot be completed". Bug raised: https://sourceforge.net/tracker/?func=detail&aid=2741235&group_id=105970 &atid=642714 Neil -Original

Re: [WiX-users] Votive not working in build 3.0.5207

2009-04-07 Thread Christopher Painter
I really need 5207 to address my DTF issues but now you have me worried. I'll be watching this thread to see what's going on. Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Tue, 4

Re: [WiX-users] how to change an installed package?

2009-04-07 Thread Karl Denning
Perhaps this would do the trick 1. Immediate run once CA* sequenced in both the UI and execute sequences before appsearch. (Perhaps condition the execute sequence CA to only run if UILevel < 4) 2. The CA should enumerate every msi in \installer. 3. Determine which one is your previous version (m

Re: [WiX-users] Votive not working in build 3.0.5207

2009-04-07 Thread Neil Sleightholm
I think I know what the problem is, from this build Votive won't allow you to add folders or to load any projects that contain folders. Neil -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 07 April 2009 16:46 To: General discussion for Windows Installer XML to

Re: [WiX-users] CreateFolder/RemoveFolder with Empty Component Guid

2009-04-07 Thread Brian Rogers
Hey Dominik, The Component/@Guid="*" is the valid way to auto generate GUIDs. There is another switch -gg that generates GUIDs for you. What issue are using seeing using the "*"? Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Mon, Apr 6, 2009 at

[WiX-users] Votive not working in build 3.0.5207

2009-04-07 Thread Neil Sleightholm
Some of my wixproj files won't load in WiX v3.0.5207 - the error message is "Error HRESULT E_FAIL has been return from a call to a COM component". I noticed in the history.txt that there is a breaking change to wix.targets - is this the reason? Is anyone else getting this error or know how to fix i

[WiX-users] ICE64: The directory ProgramMenuDir is in the user profile but is not listed in the RemoveFile table.

2009-04-07 Thread Lanteigne, Alan
Hello Wix World: While trying to setup a shortcut to an EXE, I'm getting this error: ICE64: The directory ProgramMenuDir is in the user profile but is not listed in the RemoveFile table. I thought I had done everything correctly but apparently I'm missing something. Googling shows something a

Re: [WiX-users] Registry values are not updated during "Change"

2009-04-07 Thread Natalia
I found the solution. Using Reinstall and ReinstallMode control events did the trick: -- 1 1 -- (these events are tied to a PushButton control) -- View this message in context: http://n2.nabble.com/Registry-values-are-not-updated-during-%22Change%22-tp2592315p2599464.html Sent from the wix-u

[WiX-users] Patching Issue

2009-04-07 Thread Mukesh Agrawal
We have a hotfix installer that replaces the old dll with a new dll in Program Files/GAC. It opens a handle for the file being replaced. So while replacement, if we do not close this handle, an error is coming up - "Access Denied". In some products of our team itself, we are not seeing this erro