Re: [WiX-users] Env variables don't get deleted

2009-07-01 Thread Rob Hamflett
Setting Permanent="yes" on the Component or forgetting to give it a GUID would make the env var change permanent. Do either of these apply? Rob sandun css wrote: > Hi, > > I set few env variables from my msi. But they don't get deleted when I > uninstall them. This is my code, > >Val

[WiX-users] Env variables don't get deleted

2009-07-01 Thread sandun css
Hi, I set few env variables from my msi. But they don't get deleted when I uninstall them. This is my code, What can be the problem? Thanks, Sandun -- ___ WiX-users mail

Re: [WiX-users] Boolean paramaters

2009-07-01 Thread sandun css
Thanks for the replies. I was able to get it done with 'MYFLAG~="true"' approach. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists

[WiX-users] Customing WixUI

2009-07-01 Thread Quinton Tormanen
In the WiX 3.0 help topic "Customizing the WixUI Dialog Sets", what is meant by "your custom set fragment" in the last paragraph in that the "Customizing dialog sets" section: You do not need to rebuild WixUIExtension to customize the WixUI dialog sets in this manner. All you need to d

Re: [WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to create web application

2009-07-01 Thread troy hostetter
No .. it does not have an associated component. The website does exist on the server. Here's what we have in the IIS metabase file .. so it does exist: My iis:WebSite and iis:WebAddress tags point to the ServerComment and port. I recall seeing this suggestion on another post, however when i

Re: [WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to create web application

2009-07-01 Thread Mike Carlson (DEV DIV)
Does your website have a component associated with it? The log sounds as though you're using a website locator record (which is simply a website with no associated component), and the website it's trying to locate on the machine doesn't exist (in which case the install is intended to fail). If

Re: [WiX-users] Enforcing x86-only and x64-only installs

2009-07-01 Thread Quinton Tormanen
For what it's worth, Chris Jackson was able to reproduce this problem, and confirmed that it is a bug in Windows 7. The fix won't make it into the RTM but should be in "a Windows Update coming soon". --Quinton -Original Message- From: Quinton Tormanen [mailto:quint...@deltacompsys.com]

[WiX-users] AdminUI vs. InstallUI

2009-07-01 Thread Quinton Tormanen
My current WiX 2.0 project was built several years ago. At some point, I copied in all of the UI stuff from the WiX UI library directly into my project for manual edits that I made, and have since left it stagnant. I've since pulled my project up to use WiX 3.0. However, I am confused when seei

Re: [WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to create web application

2009-07-01 Thread troy hostetter
FWIW .. I passed in the IP address of the existing web site .. the new WiX looks like: Still no go :( .. same error as below. - Troy On Wed, Jul 1, 2009 at 2:54 PM, troy hostetter wrote: > Mike - > > Installed version 3.0.5419, built msi, and am now getting this error during >

Re: [WiX-users] Boolean paramaters

2009-07-01 Thread Richard
Think of "boolean" properties acting the same way that properties act when you connect them to a checkbox. The property is empty if the checkbox is cleared and set to some value when the checkbox is checked. If you follow this convention with your own properties then MyProperty will evaluate to

[WiX-users] Patch will not cache baseline or what is so special about interop assembles?

2009-07-01 Thread Tony Juricic
I have an interop assembly that breaks my patching. When patch is installed verbose log shows this: MSI (s) (78:E8) [16:12:06:987]: Baseline: INTEROP.SERVICELIB.DLL not touched in this transaction, verification required. MSI (s) (78:E8) [16:12:06:989]: Baseline: Existing INTEROP.SERVICELIB.DLL

Re: [WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to create web application

2009-07-01 Thread troy hostetter
Mike - Installed version 3.0.5419, built msi, and am now getting this error during install: Action 18:36:40: StartMetabaseTransaction. Starting IIS Metabase Transaction Action 18:36:40: RollbackMetabaseTransaction. Rolling back IIS Metabase Transaction Action 18:36:40: CommitMetabaseTransaction.

Re: [WiX-users] Boolean paramaters

2009-07-01 Thread Wilson, Phil
That's correct - they're uncomfortably like some C /C++ types, to use that as an approximate analogy. People trip over this sometimes with the standard properties. For example the Installed property isn't set to true or false. It's a string which (IIRC) is a date. Phil Wilson -Original

Re: [WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to create web application

2009-07-01 Thread Mike Carlson (DEV DIV)
A *lot* has changed in the IIS custom actions since WiX v3.0.4805, including an error that looks very similar to this. First, I would upgrade to the latest WiX 3.0 build (v3.0.5419) and see if you still have a problem after that. Thanks, Mike Carlson -Original Message- From: troy hostet

[WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to create web application

2009-07-01 Thread troy hostetter
We are getting the following error and are not sure why. We have been successful at creating virtual directories in several other environments (development, integration, etc.), however the environment we are currently deploying to is having issues :( Action 14:41:11: StartMetabaseTransaction. Sta

[WiX-users] How does the WiX team generate wix.chm from wix.xsd?

2009-07-01 Thread zett42
I assume you have some nifty tool to do this? I like the style of the CHM documentation very much, so I would like to create my own CHMs from XSDs in this way... Thanks -- View this message in context: http://n2.nabble.com/How-does-the-WiX-team-generate-wix.chm-from-wix.xsd--tp3189821p3189821.h

Re: [WiX-users] How to reference a system environment variable?

2009-07-01 Thread Yan Sklyarenko
Note that if you set permissions to a folder with PermissionEx element, the permissions are set recursively for all descendants. This means if your TEMP folder exists and is full of folders/files, the installation time will increase... -- Yan -Original Message- From: Igor Paniushkin [mail

[WiX-users] Third-party installation

2009-07-01 Thread MacDiarmid, James D
All, I have a couple third-party installers, such as the SOAP toolkit, I need to kick off during my installer. This file does not get installed with the rest of the application. How would I go about setting that up? Thanks, Jim

Re: [WiX-users] How to reference a system environment variable?

2009-07-01 Thread Igor Paniushkin
I already figured out, I need to specify Directory element and not DirectoryRef element, which I tried before. If somebody interested, there is code to do that: http://schemas.microsoft.com/wix/UtilExtension"; /> ...

Re: [WiX-users] How to reference a system environment variable?

2009-07-01 Thread Igor Paniushkin
Hi all, I have a question about setting permissions on SYSTEM temp environment directory: If I will read information from registry about location of SYSTEM TEMP, how can I use it to set permissions? Should I write custom actions to do that? Can I reuse PermissionEx element from Util extensions?

Re: [WiX-users] Boolean paramaters

2009-07-01 Thread Buddell, James
>From memory so this may not be 100% - Windows Installer evaluates properties as true if they are set, and false if they are not. i.e. setting MYFLAG=true on the command line will result in boolean condition tests on MYFLAG returning true, but so will setting MYFLAG=false, as the MYFLAG property wi

Re: [WiX-users] Multiple Instance Transforms Walkthrough, Proposed Simple Addition to WiX to Make Them Easier

2009-07-01 Thread amrish
I am trying to create an MSI which will install a windows service multiple times on the same machine with a clientname appended to the end of each service instance (ServiceNameClientA). I take the servicename as input from the user and create the service with that name(e.g clientname). It will b

Re: [WiX-users] Multiple Instance Transforms Walkthrough, Proposed Simple Addition to WiX to Make Them Easier

2009-07-01 Thread amrish
I am trying to create an MSI which will install a windows service multiple times on the same machine with a clientname appended to the end of each service instance (ServiceNameClientA). I take the servicename as input from the user and create the service with that name(e.g clientname). It will b

Re: [WiX-users] Boolean paramaters

2009-07-01 Thread Christopher Karper
You have a boolean operator right in that very example... I'm just winging this, but try: On Wed, Jul 1, 2009 at 12:21 AM, sandun css wrote: > Hi, > > I have some conditions in my msi, like the following, > > > > > > > > > But I need to run these conditions only if a certain parameter

[WiX-users] DTF - "Cursor in invalid state" error when deleting records from a view

2009-07-01 Thread Buddell, James
Hi, I am using C# in VS2008 to access an MSI and delete some rows. I am using the latest weekly WIX build, 3.5.0626. When I try to use the View.Delete method I receive the InstallerException "Cursor in invalid state". I've simplified the code and replicated the error with the sample below:

Re: [WiX-users] wix3_x64.msi

2009-07-01 Thread Sebastian Brand (Instyler Software)
I got it working. I compiled winterop.dll as 64-bit. Back on Route 64... Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] Sent: Wednes