[WiX-users] Wix + MSBuild + content files

2012-09-21 Thread Cristian Prieto
BindPaths was exactly what I was looking for... Thanks Cristian Prieto On Fri, Sep 21, 2012 at 3:44 PM, Rob Mensching r...@robmensching.comjavascript:_e({}, 'cvml', 'r...@robmensching.com'); wrote: Why do you want to copy your content to the obj directory? Are you modifying the content in

Re: [WiX-users] -----SPAM----- variables not working...

2012-09-21 Thread Neil Sleightholm
You seem to be mixing up pre-processor instructions and runtime, are you trying to get the user domain and logon when you run the msi? If so you can use [LogonUser] in your property (I am not sure if that includes the domain though). Neil Hi all, I have these two set: ?define LogonUserName

Re: [WiX-users] Wix + MSBuild + content files

2012-09-21 Thread Albert van Peppen
Hey Cristian.. Do you just installed a virus/Trojan or something? All the email addresses in your reply got some java script added to it! Better check your system! As for everybody else; be very carefull when replying to this mail! Best regards, Albert van Peppen transmission of this e-mail or

Re: [WiX-users] UI upgrade succeeds, but silent upgrade fails

2012-09-21 Thread Peter Shirtcliffe
Are you mixing up minor and major upgrades ? Major upgrades use the upgrade table and replace the old product with the new one. You don't specify REINSTALL or REINSTALLMODE on the command line. The upgrade code should be the same and the product code and version different. Minor upgrades repair

[WiX-users] How to create a website with HTTPS using WIX

2012-09-21 Thread Nageswara Rao
Hi Team, Could you please let me know how to create a website with HTTPS and below is the code, what I am working util:User Id=AppPoolUser CreateUser=no Domain=DOMAIN Name=[APPPOOLUSER] Password=[APPPOOLPWD] RemoveOnUninstall=yes/ iis:WebAppPool Id=AppPoolId Name=AppPool

[WiX-users] How does WiX bootstrapper determine UI language

2012-09-21 Thread Harald Dersch
Hello, I created a bootstrapper with WiX that includes four different localizations (English, German, French, and Dutch). But I actually wonder, how the bootstrapper detects and determine the language to display the UI. When the bootstrapper runs on an English OS, it's in English. When run on

[WiX-users] Wix Question related to closing process using util:CloseApplication

2012-09-21 Thread Chandrasekaran, Suman (GE Healthcare)
HI, I am using Wix 3,6. I have an issue, while uninstalling the application I want to close a process which is basically a system tray icon. When the uninstallation process starts it pop's up a dialog asking the user to close the application (The following application should be closed before

[WiX-users] Wix Question related to closing process using util:CloseApplication

2012-09-21 Thread Chandrasekaran, Suman (GE Healthcare)
HI, I am using Wix 3,6. I have an issue, while uninstalling the application I want to close a process which is basically a system tray icon. When the uninstallation process starts it pop's up a dialog asking the user to close the application (The following application should be closed

[WiX-users] Passing overridable variables to bootstrapper from file

2012-09-21 Thread Salonkangas, Janne (GE Healthcare)
Hi, With just MSI files you could pass property values from command line and also from a file. We have moved to use burn and instead of properties we pass variables when running the exe file. Is there a possibility to pass the variables from a file? This kind of functionality is needed for

Re: [WiX-users] Populate a list box from a custom action

2012-09-21 Thread Natalie Carr
Thanks Christopher, I had a look bur my function still is not working. Does anyone know if there is any documentation on the WcaAddTempRecord because I'm not even sure on the attributes or that. At the minute I have: hr = WcaAddTempRecord(hTable, hColumns, LListBox, NULL, 0, 4, LCOMPORT,

[WiX-users] Simple UI with license agreement

2012-09-21 Thread Branko Horvat
Hello, I would like to have a simple UI comprising Hello, EULA, and completion. Using UICommon is ok, but can't include the license agreement. Using UIInstallDir and UIFeatureTree have license but Can't exlude dir or custom dialogue. Do you have any hint how to proceed? Regards, Branko

Re: [WiX-users] What is a rollback boundary?

2012-09-21 Thread Nick Ramirez
Reading through the source code and just doing some experimentation helped me figure it out. But in case anyone else is looking for a practical definition: Error during MSI 3 here means rollback to the last boundary. Uninstall MSI 2 and 3, but keep 1 since it was before the boundary: Chain

Re: [WiX-users] Populate a list box from a custom action

2012-09-21 Thread Peter Shirtcliffe
A production example MSIDBERROR insertError = MSIDBERROR_NOERROR; // Value is not changed on success. MSIHANDLE registryView = NULL; MSIHANDLE registryColumns = NULL; hr = WcaAddTempRecord(registryView, registryColumns, // Out parameters.

Re: [WiX-users] variables not working...

2012-09-21 Thread Steven Ogilvie
Using the env. Variable retrieves it from my local environment at build time... so if someone else runs the install on another machine they see my domain\my user logon :) Which won't work Thanks, Steve -Original Message- From: MikeGa [mailto:mjgalla...@comcast.net] Sent:

Re: [WiX-users] Bootstrapper Upgrade Detection

2012-09-21 Thread Gregory Beaty
Any answer to this? Greg Beaty greg.bea...@gmail.com On Tue, Sep 18, 2012 at 1:00 PM, Neil Sleightholm n...@x2systems.comwrote: This is what I tried, in OnDetectRelatedBundle() save the operation. In OnPlanRelatedBundle() if the saved operation == BOOTSTRAPPER_RELATED_OPERATION_NONE (which

Re: [WiX-users] variables not working...

2012-09-21 Thread MikeGa
Steven Ogilvie wrote Using the env. Variable retrieves it from my local environment at build time... so if someone else runs the install on another machine they see my domain\my user logon :) Which won't work Well, that was a doh moment *lol* Sorry about that. The CA method posted

[WiX-users] Assigning WebApplication to non-existent WebAppPool doesn't fail installation, although should

2012-09-21 Thread Boyko, Ivan
Dear All I use the following code to create a WebApplication in IIS and assign it to a specific Application Pool. iis:WebAppPool Id=AppPool_Wcf Name=$(var.WCF_APP_POOL) / iis:WebSite Id=Web_site Description=$(var.WEB_SITE_DESCRIPTION) SiteId=[SITEID] iis:WebAddress

[WiX-users] Burn mangaged installer and IIS Administration

2012-09-21 Thread Henning Krause
Hi, I'm working on an installer which creates a virtual directory in IIS. The installer has a managed bootstrapper application (Burn) and lets the user select the website to which install the virtual application to. For the selection process, I enumerate all installed websites on the local IIS

[WiX-users] How to add a .aspx to Error Pages under a website

2012-09-21 Thread Nageswara Rao
Hi Team,I have devolped one customErros.aspx page and now would like to add this page to Error Pages of a website in IIS using WIX*Note: Please find the attached attachment* http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7580742/Error_Page_of_a_website.jpg -- View this

Re: [WiX-users] Wix + MSBuild + content files

2012-09-21 Thread Cristian Prieto
Thanks for the info Albert, I just checked the source from the email and looks like a js script attached to Rob signature... It looks like a trackiing script by a company named appdynamics or something... Cristian Prieto On Fri, Sep 21, 2012 at 6:05 PM, Albert van Peppen alb...@insad.nl

Re: [WiX-users] -----SPAM----- variables not working...

2012-09-21 Thread StevenOgilvie
Sigh, now I am getting nothing... I have tried: SetProperty Id=DATABASE_USERNAME Value=[%USERDOMAIN]\[%USERNAME] Before=InstallInitialize Sequence=execute / where LogonDomainName is: ?define LogonDomainName = [%USERDOMAIN]? how hard can it be to get a system variable at runtime? Steve

Re: [WiX-users] How to create a website with HTTPS using WIX

2012-09-21 Thread John Cooper
Well if you're creating a website versus using an existing one, then pretty much all of your IIS authoring needs to be in components. That's a pretty unusual pattern in practice. Usually, my app pool, virtual directory, and web applications authoring is in components but I use the website

[WiX-users] Customize UI Sequence

2012-09-21 Thread Tarquin Vaughan-Scott
Hi All I'm trying to customize the sequence of the UI by removing the license dialog. I tried to follow the instructions here: http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html but keep on getting compile errors that there are duplicate ids. I based my custom

Re: [WiX-users] -----SPAM----- variables not working...

2012-09-21 Thread Hoover, Jacob
Hmm, have you checked the verbose log on this? I wouldn't expect these variables to exist if this is happening after the MSI elevates (as that process is running as system). You need to gather the attributes in user mode and pass them to the elevated process via a property. From several

Re: [WiX-users] variables not working...

2012-09-21 Thread John Cooper
%Id is used to probe environment variables. So your instinct about scripts was near the mark. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS  66227 Office:  913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com

Re: [WiX-users] How to create a website with HTTPS using WIX

2012-09-21 Thread Nick Ramirez
When I'd created a new website in IIS and wanted to bind a certificate to the IP address, I didn't find a WiX element that would do it. At the time, I used a shell script to do this binding, using netsh. I ran the shell script as a custom action. This probably isn't the most robust way to do it.

Re: [WiX-users] variables not working...

2012-09-21 Thread Nick Ramirez
Could you use a custom action to get the environment variables at install time? In managed code: System.Environment.GetEnvironmentVariable(String name) I'm not sure if there's a declarative way of doing this in WiX. -- View this message in context:

Re: [WiX-users] variables not working...

2012-09-21 Thread Neil Sleightholm
Did you try my suggestion of LogonUser? SetProperty Id=DATABASE_USERNAME Value=[LogonUser] Before=InstallInitialize Sequence=execute / The problem is that this will only return the name and not the domain so you might have to resort to a custom action. I don't think reading the environment

Re: [WiX-users] How does WiX bootstrapper determine UI language

2012-09-21 Thread Rob Mensching
It probes like this: Root of BA\ + GetUserDefaultUILanguage() Root of BA\ + GetSystemDefaultUILanguage() Root of BA\ On Fri, Sep 21, 2012 at 4:10 AM, Harald Dersch harald.der...@vasco.comwrote: Hello, I created a bootstrapper with WiX that includes four different localizations (English,

Re: [WiX-users] Passing overridable variables to bootstrapper from file

2012-09-21 Thread Rob Mensching
The BA gets the command-line and can pass that on to variables if it desires. The wixstdba does this if you mark the variables to allow to be set from the command-lne. On Fri, Sep 21, 2012 at 5:45 AM, Salonkangas, Janne (GE Healthcare) janne.salonkan...@ge.com wrote: Hi, With just MSI

Re: [WiX-users] Burn mangaged installer and IIS Administration

2012-09-21 Thread Rob Mensching
You'd have to spin of a separate process that can elevate. We've talked about adding somethig like this to Burn for IIS because they made a huge API blunder and required read operations to be elevated. sigh/ Of course, that thing hasn't been implemented yet. Maybe you'd like to contribute it? On

Re: [WiX-users] Bootstrapper Upgrade Detection

2012-09-21 Thread Rob Mensching
Heh, heh, yeah, you'll go into an infinite loop if the two equal bundles keep upgrading each other. I bet you ended up with thousands of burn processes running trying to upgrade each other. Heh. You probably need to throw in the relationType provided from the Command line to make sure you don't

Re: [WiX-users] Wix Question related to closing process using util:CloseApplication

2012-09-21 Thread Rob Mensching
CloseApplication sends a close message to the process in question. That's basically it. On Fri, Sep 21, 2012 at 5:17 AM, Chandrasekaran, Suman (GE Healthcare) suman.chandraseka...@ge.com wrote: HI, I am using Wix 3,6. I have an issue, while uninstalling the application I want to

Re: [WiX-users] variables not working...

2012-09-21 Thread Hoover, Jacob
Change Sequence to ui, and then in the install execute sequence, you will probably want to abort if the property isn't assigned. This means users double clicking the MSI would get the value assigned from the install ui sequence, but automated deployments or quiet/silent installs would be

Re: [WiX-users] Bootstrapper Upgrade Detection

2012-09-21 Thread Neil Sleightholm
So only set *pRequestedState = BOOTSTRAPPER_REQUEST_STATE_ABSENT if BOOTSTRAPPER_RELATION_NONE == relationType ? Neil -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 21 September 2012 18:23 To: General discussion for Windows Installer XML toolset. Subject:

Re: [WiX-users] Burn mangaged installer and IIS Administration

2012-09-21 Thread Henning Krause
Hi Rob, You'd have to spin of a separate process that can elevate. We've talked about adding somethig like this to Burn for IIS because they made a huge API blunder and required read operations to be elevated. sigh/ But with an additional elevated process the use would have to go through the

Re: [WiX-users] Burn UI simple example doubt

2012-09-21 Thread vchauras
Hello all, My need to develop is custom UI is as follows: 1. - I want the user to select which msi to install (using checkbox) 2. - Depending on which msi user selects , my next UI page would be get more information from the user needed for the selected MSI. So, have googled about this , I

Re: [WiX-users] variables not working...

2012-09-21 Thread MikeGa
Neil Sleightholm wrote I don't think reading the environment variables will work as the MSI is in the context of the msiexec service not the user that is logged on. -Original Message- From: StevenOgilvie [mailto: sogilvie@ ] Sent: 21 September 2012 16:37 To:

Re: [WiX-users] UI upgrade succeeds, but silent upgrade fails

2012-09-21 Thread Alec Swan
Thank you for clarifying this for me, Peter! I ran the MSI without REINSTALL and REINSTALLMODE and it worked like a charm! Your explanation was perfect and Rob's response provided further clarifications on this page

[WiX-users] Bundle upgrade rollback removes the entire product other than bundle ARP entry

2012-09-21 Thread shruthi02
Hi, During bundled upgrade, if the uninstall of the old bundle fails, this invokes a rollback on MSI upgrade. This in turn causes the MSI to be uninstalled instead of just rolling back to re-install the previous version of MSI. The version of wix am using is 3.6.2803.0. Is this a known issue

Re: [WiX-users] Bootstrapper Upgrade Detection

2012-09-21 Thread Rob Mensching
I would say UPGRADE != relationType otherwise you'll be messing with add-on and patch bundles too, I think. On Fri, Sep 21, 2012 at 10:56 AM, Neil Sleightholm n...@x2systems.comwrote: So only set *pRequestedState = BOOTSTRAPPER_REQUEST_STATE_ABSENT if BOOTSTRAPPER_RELATION_NONE == relationType

Re: [WiX-users] Burn mangaged installer and IIS Administration

2012-09-21 Thread Rob Mensching
1. Today, yes. Fixing the engine to help would be interesting. Funny thing is that it is only IIS that seems to have this problem. 2. Not going to help fix the Burn engine with managed code, no. smile/ On Fri, Sep 21, 2012 at 11:07 AM, Henning Krause m...@henningkrause.euwrote: Hi Rob,

Re: [WiX-users] variables not working...

2012-09-21 Thread StevenOgilvie
Finally got it to work CustomAction Id=CA_SetProperty_DATABASE_USERNAME Property=DATABASE_USERNAME Value=[%USERDOMAIN]\[LogonUser]/ UI ProgressText Action=CA_SetProperty_DATABASE_USERNAMECA: Setting database username.../ProgressText /UI placed in both execute and UI sequence: