[WiX-users] Custom Actions with elevated privledges

2010-08-18 Thread Christian Froehlich
Hi All, I have hit a conundrum here. I have an immediate custom action that gets a list of IIS application pools to be displayed in a ComboBox for user selection. Now as this needs to be executed before the user interface is shown, i have made this an immediate custom action. This seems to

[WiX-users] My setup delete a parent registry key which is not created by it

2010-08-18 Thread Elfe Xu
Hi all, I my setup project, I create a sub registry key MyMgmtGroup under HKLM\SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Agent Management Groups Component Id=CMP_Reg_Software Guid={4578FEE6-4183-4DC8-8E5F-EEC447C6A898} RegistryKey Action=createAndRemoveOnUninstall Root=HKLM

Re: [WiX-users] Yet another localization question

2010-08-18 Thread Mike Carlisle
Thank you - the first part of that makes perfect sense. The second part is still a little ambiguous to me. When you say the cultures flag decides which .wxl files are processed this implies that the MSI can contain more than one locale, ( as the cultures flag takes a list of cultures). I didn't

[WiX-users] VWD2010EXPRESS_IDE

2010-08-18 Thread Cristian Libardo
Hello good people. I've been successful adding some templates to Visual Studio 2008, 2008 Express, 2010 and finally reached a big question mark when it comes to *2010 Express*. It seems that using *WiX 3.5.2006* I can't find the *vwdexpress.exe path* in the VWD2010EXPRESS_IDE property. So far

[WiX-users] WIXUI source?

2010-08-18 Thread Mike Carlisle
Hi, Where can I find the source code for the WixUI library? I would like to use WIXUI_Mondo and leverage the existing translations etc, however I want to swap out one of the screens to look more like the SampleCustomUI7.wxs example with some nice icons. To do this I guess I need the source for

Re: [WiX-users] Yet another localization question

2010-08-18 Thread Nick Ramirez
You are right. An MSI can only be localized for one language. What that means is actually pretty simple. If you look inside the MSI database (with a tool like Orca.exe), you'll see that many of the tables contain text (the Control table, for instance). Once the MSI is built, these strings are

Re: [WiX-users] WIXUI source?

2010-08-18 Thread Blair
The source tree is on wix.codeplex.com. Bob and Rob have both blogged about how to access things in the new (for us) location. In the sources, the wix ui is found at the following path: src\ext\UIExtension The wix sources (the bulk) are in the wixlib directory, and the associated custom actions

Re: [WiX-users] Custom Actions with elevated privledges

2010-08-18 Thread Blair
Unfortunately when merely querying the system requires elevation you typically have to engage a bootstrapper that is manifested to require elevation to force all of your MSI to run elevated. That, of course, means your removal from ARP will see this CA fail as well, so if you need the CA for

Re: [WiX-users] Returning Success on clicking a button in dialog

2010-08-18 Thread Blair
Write something similar to WixExitEarlyWithSuccess that you can schedule after your dialog(s) but before ExecuteAction. Condition the action (either in the MSI or in your CA) on a property you set when exiting the dialog intending for the MSI to return. -Original Message- From: Ashvin

Re: [WiX-users] Custom Actions with elevated privledges

2010-08-18 Thread Paul Lalonde
The only solution I've found to this problem is to create a bootstrapper that starts up msiexec with my msi. The bootstrapper is marked as requireAdministrator, so it as well as the msi's UI run elevated. Hope this helps, -- Paul Lalonde paullalonde at mac dot com Il n'y

Re: [WiX-users] Yet another localization question

2010-08-18 Thread Mike Carlisle
Thank you, that confirms my current understanding :) I hadn't released that cultures were just for fall-backs and couldn't understand why light accepted multiple wxls of different locales when the MSI can only hold 1. On 18 August 2010 14:53, Mike Carlisle mike.carli...@gmail.com wrote: Thank

[WiX-users] Website gets deleted when uninstalling Web-App

2010-08-18 Thread Sagar1111
Hi, I have an installer which creates an Web-App under the said website. The installer installs properly. But when uninstalling the msi it deletes the entire Website under which the Web-App was hosted. This problem is observed in IIS 7.0 and higher. Is this a bug in WixIISExtension or am I

Re: [WiX-users] Website gets deleted when uninstalling Web-App

2010-08-18 Thread Sagar1111
I am using Wix 3.0.5419.0 -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Website-gets-deleted-when-uninstalling-Web-App-tp5436443p5436452.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Website gets deleted when uninstalling Web-App

2010-08-18 Thread Sagar1111
I am using Wix 3.0.5419.0 -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Website-gets-deleted-when-uninstalling-Web-App-tp5436443p5436453.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] Execute program on exit

2010-08-18 Thread Paul Adams
Hi. I have an issue with a WIX installer that runs a custom action using the Finish button in the exit dialog. I've tried to follow the tutorials/examples (which are wonderful, btw), but my action fails for Server 2008 installs. The same MSI works fine for Server 2003. Currently, I'm blaming

Re: [WiX-users] Execute program on exit

2010-08-18 Thread Blair
Windows Installer runs EXE-style custom actions by calling CreateProcess, which does not allow UAC prompting, and will fail if the OS Loader considers that the prompt would have been required. I believe that the WixShellExec custom action should work for you. -Original Message- From:

Re: [WiX-users] Execute program on exit

2010-08-18 Thread Paul Adams
Thanks, that worked. I thought I tried that technique yesterday, but must have made a mistake in the code as it failed. Good to know that fact about CreateProcess; it might come in handy later. Paul -Original Message- From: Blair [mailto:os...@live.com] Sent: Wednesday, August 18,

[WiX-users] bitmap error 2858

2010-08-18 Thread Umesh Joglekar
Hi, In our installer I am getting error 2858 when the installer is run on XP Pro 32. Actual log entry is Debug: Error 2858. The data for bitmap background is not valid. This problem is not seen on Windows 7. Has anyone noticed similar behavior? What could be causing this problem?

Re: [WiX-users] bitmap error 2858

2010-08-18 Thread Sohail Somani
On 10-08-18 5:08 PM, Umesh Joglekar wrote: Hi, In our installer I am getting error 2858 when the installer is run on XP Pro 32. Actual log entry is Debug: Error 2858. The data for bitmap background is not valid. This problem is not seen on Windows 7. Has anyone noticed similar

Re: [WiX-users] Returning Success on clicking a button in dialog

2010-08-18 Thread Ashvin
Don't worry guys. I've shifted the condition to my C++ wrapper. Now, the msi only gets called if it can't find a network image. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Returning-Success-on-clicking-a-button-in-dialog-tp5430920p5438396.html

Re: [WiX-users] Execute program on exit

2010-08-18 Thread Blair
To get UAC prompts, you have to use ShellExecute. CreateProcess comes later in the call stack for program launching and no prompt can be performed at that point (which is handy if you ever call other executables from a service and there may not be an accessible desktop to respond to a prompt).

[WiX-users] Both Install and Uninstall Custom Actions called during install

2010-08-18 Thread Kurt Jensen
We have a C# assembly that contains methods called during install and uninstall. But, on Windows XP it appears that both actions are being called, CAInstall and later CAUninstall. How can this be? Here is the CustomAction and InstallExecuteSequence code CustomAction Id=CAInstall

[WiX-users] Date value and string formatting

2010-08-18 Thread Thorpe, Alan
Is there a built-in way to retrieve the date (8/18/2010) at install-time? The environment variable DATE returns Wed 08/18/2010 which then requires string formatting. This would be cake in Java script or VB script, but is there a way to return values from the custom action (other than exit

[WiX-users] Problem with Application pools in IIS on Windows 7/2008

2010-08-18 Thread Igor Lemsky
I simply install IIS Virtual directory and independent IIS Application pool for this Directory. As I understand my IIS Application Pool must be deleted during uninstall. It works on Windows XP and Windows 2003. But on Windows 7 and 2008 It doesn't deleted and stayed after uninstall (Component is

Re: [WiX-users] Date value and string formatting

2010-08-18 Thread Blair
Immediate custom actions can both read and set properties, as well as read database tables and add temporary rows. -Original Message- From: Thorpe, Alan [mailto:atho...@bottomline.com] Sent: Wednesday, August 18, 2010 5:20 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Date