Re: [WiX-users] Creation of Virtual Directory within existing Website

2007-06-05 Thread darrenstone
I found the following comment in the Wix custom action code (V2) when it's looking for the relevant web site // TODO: fix this to look for the description as well (or is address enough)? Therefore it uses the first match it finds based on IP and Port (and header if your using one). Seems to m

Re: [WiX-users] Conditional services install

2007-06-05 Thread Milan Tomeš
Hi Bob, thats exactly what I've done but no effect. I guess there is a problem with property SERVICEUSEGUARDIAN. This property is connected to check box so if I unselect this check box this property become undefined and value written into the registry is binary value with zero length. But duri

Re: [WiX-users] Preselected is set to 1 during uninstall?

2007-06-05 Thread Bob Arnson
Charles Wan-Calo wrote: > I wonder if I am doing the right thing. I worry that I am losing the > capability of using Preselected some time in the future, because it is > always 1 (see my earlier messages in this thread). MSI sets it whenever there are features pre-selected for installation or

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-06-05 Thread Bob Arnson
[EMAIL PROTECTED] wrote: > I have an MSI which installs files by dropping them in specific > directories. It then runs a custom action which may mail. > > If it fails, the MSI reports there has been a problems and the > progress bar goes backwards. Normally this is the point where it will >

[WiX-users] Conditionally installing components based on user's locale

2007-06-05 Thread Scott Palmer
As part of my setup I would like to write certain registry values depending on the country setting of the OS. E.g. for North American users I might set a registry value to 1, for European users the value would be set to 2. Is there an easy way to do this without writing a custom action? Failing

[WiX-users] Feature installation state

2007-06-05 Thread Pankaj Savdekar
Hi, I would like to modify one common xml file based on feature selected by user. If 'Feature1' is NOT selected then remove one element from common xml file. I tried following, but it remove xml element irrespective of 'Feature1' installed or not. Any guess what could be wrong

[WiX-users] Conditional Install based on another Product existing

2007-06-05 Thread Magus
I have an application that I only want to install if they have another product installed. Is there anyway to do this? -- View this message in context: http://www.nabble.com/Conditional-Install-based-on-another-Product-existing-tf3875077.html#a10980182 Sent from the wix-users mailing list archi

[WiX-users] INSTALLDIR Parameter to CustomAction

2007-06-05 Thread Mark.Farmer
I've run into a problem that sounds fairly simple to resolve, however, I've been spinning my wheels on it for a while. I've created a CustomAction that requires the install path parameter. However, the string does not come across correctly in my arguments of the exe because of the "\". I need to

[WiX-users] Installing a web server

2007-06-05 Thread George Reilly
I want to set up multiple web sites in IIS 6: each listening on port 80, but using different Host headers. For example, www.coke.com and www.pepsi.com . These correspond to IIsWebServer nodes in metabase.xml. I have not figured out how to do it. M

Re: [WiX-users] problem with serviceconfig

2007-06-05 Thread Peter Marcu
The fix for this was submitted yesterday and should in the next published build. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick Sent: Tuesday, June 05, 2007 1:06 PM To: 'koawmfot'; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] problem with serviceconfig Oh,

Re: [WiX-users] Wix MergeModules not installing under Win Installer 3.x

2007-06-05 Thread Mike Dimmick
Merge modules only provide components to a parent installer. If the overall installer doesn't work, you need to analyze the final output to work out why. I suggest getting hold of WiX v3 and using the smoke utility to run Windows Installer validation on the resulting installer, and indeed on the m

Re: [WiX-users] problem with serviceconfig

2007-06-05 Thread Mike Dimmick
Oh, for reference: 0x8007065a is Win32 error (because 0x8007 represents FACILITY_WIN32 in an HRESULT) number 1626 (0x65a), which if you look in the Platform SDK header WinError.h is code ERROR_FUNCTION_NOT_CALLED. The documentation for MsiDoAction indicates that this means 'The action was not f

Re: [WiX-users] problem with serviceconfig

2007-06-05 Thread Mike Dimmick
There is no action called RollbackServiceConfig defined in WiX v3.0.3001.0. There's an action declared in src\ext\UtilExtension\wixlib\UtilExtension.wxs called ExecServiceConfigRollback which calls the same ExecServiceConfig entry point as the ExecServiceConfig custom action, but it doesn't look to

Re: [WiX-users] Creation of Virtual Directory within existing Website

2007-06-05 Thread Aaron Shurts
Created a bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1731648&group_id=105970&atid=642714 [ wix-Bugs-1731648 ] Problem referencing existing website to create vDir Regards, //aj On 6/5/07, Aaron Shurts <[EMAIL PROTECTED]> wrote: I have done many experiments trying to get this

Re: [WiX-users] Creation of Virtual Directory within existing Website

2007-06-05 Thread Aaron Shurts
I have done many experiments trying to get this to work, but keep coming up with the same problems. I tried creating a dummy component with the website info and referencing that, same result. I tried actually nesting underneath a component with the website settings and the ConfigureIfExists flag

[WiX-users] How to remove an existing permission on install

2007-06-05 Thread sreenivas
Hi, I have explored permission element but could not see an option to remove an existing permission. Does anyone has any input's on getting the desired functionality. Sreenivas. Get your own web address. Ha

Re: [WiX-users] Creation of Virtual Directory within existing Website

2007-06-05 Thread Aaron Shurts
I am having the same problem, so if anyone has a solution, please let us know what it might be. Regards, //aj On 6/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: The scenario is that my target machine has two websites as follows: Default Web Site, IP Address - All Unassigned, Port - 80,

Re: [WiX-users] Preselected is set to 1 during uninstall?

2007-06-05 Thread Charles Wan-Calo
Hi, Bob, I set ARPSYSTEMCOMPONENT to 1 and add my own registry key, which is "msiexec /x {ProductCode} /qf". The "/qf" switch is to invoke full UI so that I can insert my own application-specific dialog during uninstall. The "/x" is to uninstall. I wonder if I am doing the right thing. I worr

Re: [WiX-users] how to always go to full UI

2007-06-05 Thread Charles Wan-Calo
Thanks, Bob. On 6/5/07, Bob Arnson <[EMAIL PROTECTED]> wrote: Charles Wan-Calo wrote: > I want the uninstaller to always go into full UI when the user > uninstalls from the ARP applet (Add/Remove Program applet), and never > go to the basic UI. Is that possible? ARP uses basic UI for uninstal

[WiX-users] problem with serviceconfig

2007-06-05 Thread koawmfot
using v3.0.2911.0 i had no problem with the WixUtilExtension and ServiceConfig element. I just installed v3.0.3001.0 and now my msi dies when it gets to SchedServiceConfig. below is the relevent MSI log file information: Action start 13:26:37: SchedServiceConfig. MSI (s) (10!38) [13:26:37:715]:

Re: [WiX-users] Upgrade InstallShield package

2007-06-05 Thread Wilson, Phil
InstallShield has a custom action (ISSetAllUsers) that sets ALLUSERS, so looking in the raw MSI file won't tell you what's going on. It's mostly used when it upgrades previous products, but nevertheless I recommend looking at a log to see what's actually happening to the ALLUSERS value during the I

Re: [WiX-users] External configuration vs CustomActions

2007-06-05 Thread Aaron Feng
Rob, I completely agree with you on static configuration belongs in the MSI, and application configuration should live inside of the app. In my post, I didn't make this clear distinction. Very well said. Thanx, Aaron On 6/5/07, Rob Mensching <[EMAIL PROTECTED]> wrote: I'd say it different

Re: [WiX-users] Upgrade InstallShield package

2007-06-05 Thread fiordean dacian
Hi Bob, ALLUSERS property is not set within the .msi file InstallShield generates, which means there was a per-user installation (there is something like ApplicationUsers property with the value ALLUSERS). My .msi uses ALLUSERS with a value of 1 (so per-machine install). I removed ALLUSERS pro

[WiX-users] Wix MergeModules not installing under Win Installer 3.x

2007-06-05 Thread Andre Nelson
Hey, I have an Installshield 12 project that is using Wix (v2) Merge Modules. When I install the Windows Installer 3.x engine, my Wix Merge Modules do not install. When I remove the Windows Installer 3.x engine, my Wix Merge Modules install completely fine. Is there something I'm missing? I

Re: [WiX-users] Patching Wix generated msis

2007-06-05 Thread Peter Marcu
You should also note that when doing patches, you need to add a removefile entry in order to remove files. For update/add you must update the keypath file of a component in order to see changes in the component during patching. Ideally, when adding new files, they are in their own component. Is

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-06-05 Thread michaelbartlett
Hi there, No what I mean is: I have an MSI which installs files by dropping them in specific directories.  It then runs a custom action which may mail.  If it fails, the MSI reports there has been a problems and the progress bar goes backwards.  Normally this is the point where it will

Re: [WiX-users] Patching Wix generated msis

2007-06-05 Thread Bob Arnson
Grant Wagner wrote: Reciently, we have grown a need to starting patching our application in production. Using the technique at http://wix.sourceforge.net/manual-wix2/patch_building.htm seems to produce nice results until we starting adding or removing files. At which point it failes completely

Re: [WiX-users] Upgrade InstallShield package

2007-06-05 Thread Bob Arnson
fiordean dacian wrote: That would remove my previous installation, right? I'm not sure I want that since the user might have configured the product (registry keys, config files, etc.) and I don't want that to be removed. I just want an upgrade of what's out there. Unless you kept all your GUI

Re: [WiX-users] Conditional services install

2007-06-05 Thread Bob Arnson
Milan Tomeš wrote: > Installation of these services is all ok and unistall too - but only > when I don't make any changes in standard property values. When I don't > want to install Guardian (so SERVICEUSEGUARDIAN isn't set) installation > works but unistall leave service alive (no uninstallatio

Re: [WiX-users] Custom Action v3 Not Async?

2007-06-05 Thread Bob Arnson
S C wrote: With the below code, I am trying to launch multiple commands, however I don't want to leave CMD prompts open for the two web browser sessions. Also, the final "success" message does not appear until the final CMD prompt is closed. How can I make this better? If you're using WiX v3,

Re: [WiX-users] Running CustomAction exes with Admin privileges under Vista

2007-06-05 Thread Bob Arnson
Oz Evren wrote: Is there a way to run *.exe's as CustomActions with full admin privileges during setup in Vista? Impersonate="no" doesn't work, and I am assuming I am not the first person hitting this issue. J To run CAs as the system account, you need @Impersonate="no" and @Execute="defe

Re: [WiX-users] Chinese Installer

2007-06-05 Thread Bob Arnson
Rohit Lodha wrote: > The current votive gives me error when I write locale as zh. Which error? > How can I support chinese UI in wix 3.0? There currently isn't a Chinese localization file, so you'll have to localize the appropriate strings. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] how to always go to full UI

2007-06-05 Thread Bob Arnson
Charles Wan-Calo wrote: > I want the uninstaller to always go into full UI when the user > uninstalls from the ARP applet (Add/Remove Program applet), and never > go to the basic UI. Is that possible? ARP uses basic UI for uninstall unless you write "shadow" ARP registry values. (See http://b

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-06-05 Thread Bob Arnson
[EMAIL PROTECTED] wrote: > I have finally got the CA working but when it fails the files (placed > down by WiX) do not "roll back" as they are supposed to - i.e. they > are still on the drive. How do I get this to work? We'd need more detail to offer any advice. How are you installing the file

Re: [WiX-users] Is it possible to detect if a software is currently running ?

2007-06-05 Thread fiordean dacian
Hi Nicolas, As far as I know, you'll have to write a custom action for that. Good luck, Dacian - Original Message From: Palit <[EMAIL PROTECTED]> To: WiX-users@lists.sourceforge.net Sent: Tuesday, June 5, 2007 3:36:14 PM Subject: [WiX-users] Is it possible to detect if a software is

Re: [WiX-users] Remove button doesn't work

2007-06-05 Thread Bob Arnson
Please keep /wix-users/ on the list so everyone can participate. silvio massari wrote: I can’t find why “Remove” doesn’t work, the MaintenanceTypeDlg chages WixUI_InstallMode property value to Remove and InstallValidate action returns value 1. InstallValidate logs what MSI is doing for e

[WiX-users] Patching Wix generated msis

2007-06-05 Thread Grant Wagner
Hi All, My company has been using wix to generate our web app installs for about a year now, and so far we've been very pleased. Reciently, we have grown a need to starting patching our application in production. Using the technique at http://wix.sourceforge.net/manual-wix2/patch_building.htm

Re: [WiX-users] Upgrade InstallShield package

2007-06-05 Thread fiordean dacian
Hi Rob, That would remove my previous installation, right? I'm not sure I want that since the user might have configured the product (registry keys, config files, etc.) and I don't want that to be removed. I just want an upgrade of what's out there. On top of that, it still doesn't look like t

Re: [WiX-users] External configuration vs CustomActions

2007-06-05 Thread Rob Mensching
I'd say it differently: 1. Static configuration should go in the install. That way repair will do the right thing. 2. Defaults for configuration should go in the app directly (a static configuration file) or in the install. That way repair will do the right thing. (the above two things are

[WiX-users] Is it possible to detect if a software is currently running ?

2007-06-05 Thread Palit
Hi, I'm doing a wix installer for a Web-Player. Is it possible during the beginning of the process of installation to detect the running browsers ? Or I must do a custom action ? Thanks Nicolas,- This SF.net email is spons

Re: [WiX-users] Running CustomAction exes with Admin privileges under Vista

2007-06-05 Thread Rob Hamflett
Is the install elevated? Rob Oz Evren wrote: > > > Is there a way to run *.exe’s as CustomActions with full admin > privileges during setup in Vista? Impersonate=”no” doesn’t work, and I > am assuming I am not the first person hitting this issue. J > > > > > > > > > --

Re: [WiX-users] Upgrade InstallShield package

2007-06-05 Thread Rob Hamflett
You want to remove OnlyDetect from the check for a previous version, and make sure you have RemoveExistingProducts scheduled. Rob fiordean dacian wrote: > Hi, > > I have a package build with InstallShield deployed out there I'd like to > upgrade using an msi authored with WiX. The deployed pa

[WiX-users] Conditional services install

2007-06-05 Thread Milan Tomeš
Hi, I'm trying to make installation with 1 or 2 services (depends on user choices). I have following components: (SERVERRUNAS = "service") AND (SERVERTYPE = "superserver") AND (SERVERAUTORUN) AND (SERVICEUSEGUARDIAN <> "1")