Re: [WiX-users] Service uninstall fails in Win 7 from Control Panel

2009-12-18 Thread Adriana Rodean
Hi, Yes i have an EmbeddedUI and in that EmbeddedUI i set a property to suppress "file in use" message and let it continue uninstall (stop service, uninstall, remove service). File is in use because service is started... What can i do? It seems that setting the property from UI doesn't work in Win

Re: [WiX-users] Expanding an env var at install time when writing to the registry

2009-12-18 Thread Markus Gaugusch
Hi Rob, (You probably ment me, because I don't know who Brian is ;-) I needed to set a property to the value of an environment variable because I wanted to populate an input field with it. I didn't see any other solution. Markus On Dec 17, Rob Mensching wrote: > Brian, Why are you using a Pr

Re: [WiX-users] UI Custom Action displays dialog behing MSI

2009-12-18 Thread Richard
What does the dialog do? What you are describing is not the right way to do this, IMO. That's why its not working the way you want; Windows Installer isn't designed to support this. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download

Re: [WiX-users] Service uninstall fails in Win 7 from Control Panel

2009-12-18 Thread Wilson, Phil
Have you got an embedded UI handler? The log seems to be saying that you have, and that Windows sent it a INSTALLMESSAGE_RMFILESINUSE message, and got an error result, an invalid return value. Phil Wilson -Original Message- From: Adriana Rodean [mailto:adrya1...@gmail.com] Sent: Thur

Re: [WiX-users] How to launch application as Standard User while the installer ran as Admin

2009-12-18 Thread Blair
Why does your installer require admin to run? Are you bootstrapping things in addition to your MSI? -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, December 16, 2009 11:08 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to launch ap

Re: [WiX-users] UI Custom Action displays dialog behing MSI

2009-12-18 Thread Blair
The problem isn't so much with MessageBox specifically as it is with UI in general: Windows Installer doesn't support custom UI all that well. The "built-in" support for what you are trying to do is called either "embedded UI" or "external UI", not showing dialogs from your immediate custom actions

Re: [WiX-users] Expanding an env var at install time when writing to the registry

2009-12-18 Thread Blair
After CostFinalize [#fileid] is the full path to your File with Id of "fileid" during installation without any "%" characters in it. Also, [directoryname] is the "\"-appended full path to the Directory with the Id of "directoryname". So you can use both of these patterns in creating your registry e

Re: [WiX-users] Question on updating GAC assemblies

2009-12-18 Thread Blair
Also, Daniel, to attempt to help you answer your question as to the difference in behavior caused by the addition of the InstallExecute and the placement of MsiProvideAssembly, it helps to understand the following about Windows Installer: Everything you see in any sequence table you should cons

[WiX-users] Registering 32- and 64-bit versions of COM InProc Server

2009-12-18 Thread Quinton Tormanen
I apologize if this has been asked and answered before. I couldn't find anything on it on the WiX archive or anywhere else on the web after much hair pulling. Any knowledge that can be imparted would be appreciated. On 64-bit OSes I need to install both a 32-bit and 64-bit version of my Inproc COM

Re: [WiX-users] util:User, util:Group controlling sequencing...

2009-12-18 Thread Blair
If in your authoring you associate the created user with a specific component AND you use so-called "late" scheduling of RemoveExistingProducts you will get what you want (because the component will remain during the entire upgrade). If you change the user data and need to "recreate" it to effect a

Re: [WiX-users] question about upgrades

2009-12-18 Thread Blair
If the ProductCode you are attempting to install is already installed, it is no longer a major upgrade and is a maintenance mode transaction (see small update & minor upgrade, as well as repair and removal). Your ProductCode must not be installed in order to perform an installation transaction (bot

Re: [WiX-users] How Do I Verify Group Membership?

2009-12-18 Thread Blair
I agree that this is a reasonably good method to deal with the per-user configuration that inevitably ends up falling on the setup developers to supply. The one thing to keep in mind is how to trigger that "last part of install" for the non-installing users (assuming your installation is per-ma

Re: [WiX-users] WiX Tutorial: a minor issue in the Patchwork section

2009-12-18 Thread Blair
At the bottom of each page, the author's name is a hyperlink that opens a partially populated email message to compose (assuming your email client and your computer's browser are both setup for that). Here is that hyperlink: mailto:d...@tramontana.co.hu?subject=wixtutorial -Original Message---

[WiX-users] Override UI control property in wxs file

2009-12-18 Thread Petr Pokorný
Hi I am wondering if there is a way to override a property of a control without a need to define the custom dialog. For example do something like this in my wxs file: To override build-in ... ... In InstallDirDlg.wxs Thanks, Petr **

[WiX-users] Add multiple elements into xml with XmlConfig or XmlFile

2009-12-18 Thread Igor Paniushkin
Hi All, Is it possible to add multiple elements with XmlConfig or XmlFile actions? I mean that for example I have this xml: And I want to add element to all a elements with test equals to true, so in the end I want to receive such xml: Best Regard