Re: [WiX-users] Add text to final window in burn bootstrapper/installer

2013-08-28 Thread Alain Forget
Building a custom BA is currently beyond my understanding. Several people on this list have done it though, so I'm hoping it's not too difficult. I don't suppose there's a tutorial, documentation, or some steps I could follow somewhere? If not, maybe someone would be so kind as to put some on th

Re: [WiX-users] Add text to final window in burn bootstrapper/installer

2013-08-28 Thread Hoover, Jacob
You could clone his branch and do your own build. The turnaround time for getting it out on an official build will require a ticket/triage, translation consideration, review and blessing from Bob (and possibly other things I am forgetting). Even if it was out on wixtoolset.org, it would be a

Re: [WiX-users] Detecting & copying existing file during install

2013-08-28 Thread Hoover, Jacob
Personally, If this file may or may not be there, I would use a "Semi-Custom" Action to inject a temporary record into the MoveFile table. You may be able to get the same action done without a custom action, but then I would question if this file should be considered user modified and thus not

Re: [WiX-users] Detecting & copying existing file during install

2013-08-28 Thread Phil Wilson
To copy files from the same location as the MSI file, you should look at using SourceDir as the location. INSTALLLOCATION isn't a standard property, it may be intended to be the directory that the MSI was installed from, but it has no value unless you have already initialized it. Phil Wilson On

Re: [WiX-users] How to remove custom application with malformed uninstall package

2013-08-28 Thread Hoover, Jacob
+1 for fixing your source msi an recaching the msi. I wouldn't recommend modifying the cached version, especially if this bug made it into the wild. On Aug 28, 2013, at 11:18 AM, "Simon Gerhold" wrote: > Thanks, good to know :) > > Simon Gerhold, razvojni inženir / Development Engineer > Ceti

[WiX-users] Detecting & copying existing file during install

2013-08-28 Thread K Peters
I have a configuration file that exists right next to the MSI about to be executed. I need to copy this file during install to a specified location. What am I doing wrong? As always, thanks for any pointers in the right direction --

Re: [WiX-users] Add text to final window in burn bootstrapper/installer

2013-08-28 Thread Alain Forget
Alright, and any thoughts on how I could use it? I ask because I doubt the documentation can keep up with the builds. My current level of WiX knowledge doesn't go far beyond .wxs files yet, unfortunately. -Original Message- From: Bruce Cran [mailto:br...@cran.org.uk] Sent: Wednesday, Au

Re: [WiX-users] Add text to final window in burn bootstrapper/installer

2013-08-28 Thread Bruce Cran
I'll submit the pull request tomorrow: it'll then be up to Bob to decide if/when it gets committed. -- Bruce Sent from my iPhone On 28 Aug 2013, at 19:14, "Alain Forget" wrote: > Will this functionality be available on Monday (or sooner) at > http://wixtoolset.org/releases/ ? > > If so, ho

Re: [WiX-users] Add text to final window in burn bootstrapper/installer

2013-08-28 Thread Alain Forget
Will this functionality be available on Monday (or sooner) at http://wixtoolset.org/releases/ ? If so, how will I be able to add text to the Setup Complete box? My apologies if I seem a tad dense, but this is very unfamiliar territory for me. -Original Message- From: Bruce Cran [mailto:

Re: [WiX-users] Add text to final window in burn bootstrapper/installer

2013-08-28 Thread Bruce Cran
Okay, I can submit it. -- Bruce Sent from my iPhone On 28 Aug 2013, at 18:13, Steven Ogilvie wrote: > You want me to make the change for 3.8 or your going to make the change? > > I can send you my code for the BA if you want :) > > -Original Message- > From: Bruce Cran [mailto:br...

Re: [WiX-users] Add text to final window in burn bootstrapper/installer

2013-08-28 Thread Steven Ogilvie
Here is the code from BA Theme wxl file Setup Successful Setup Successful Uninstall Successful Setup Failed Setup Failed Uninstall Failed Theme xml file #(loc.SuccessHeader) #(loc.SuccessSetupHeader) #(loc.SuccessUninstallHeader) #(loc.FailureHeader) #(loc.Fail

Re: [WiX-users] Add text to final window in burn bootstrapper/installer

2013-08-28 Thread Steven Ogilvie
You want me to make the change for 3.8 or your going to make the change? I can send you my code for the BA if you want :) -Original Message- From: Bruce Cran [mailto:br...@cran.org.uk] Sent: August-28-13 12:34 PM To: afor...@cmu.edu; General discussion for Windows Installer XML toolset.

Re: [WiX-users] Add text to final window in burn bootstrapper/installer

2013-08-28 Thread Bruce Cran
Yes that was for Steven: he's made exactly the same changes I was hoping to get around to making, and I'd like to see them get into WiX 3.8 if possible. -- Bruce Sent from my iPhone On 28 Aug 2013, at 16:52, "Alain Forget" wrote: > I hope that's directed at Steven, because I don't know what

Re: [WiX-users] How to remove custom application with malformed uninstall package

2013-08-28 Thread Simon Gerhold
Thanks, good to know :) Simon Gerhold, razvojni inženir / Development Engineer Cetis d.d., Čopova 24, 3000 Celje, Slovenia - EU, T: +386 3 4278 785, F: +386 3 4278 651, www.cetis.si -Original Message- From: Wheeler, Blaine (DSHS/DCS) [mailto:bwhee...@dshs.wa.gov] Sent: Wednesday, Augus

Re: [WiX-users] Add text to final window in burn bootstrapper/installer

2013-08-28 Thread Alain Forget
I hope that's directed at Steven, because I don't know what that means (and I have yet to figure out where and how to modify .wxl files). Alain -Original Message- From: Bruce Cran [mailto:br...@cran.org.uk] Sent: Wednesday, August 28, 2013 11:39 AM To: General discussion for Windows Ins

Re: [WiX-users] Add text to final window in burn bootstrapper/installer

2013-08-28 Thread Bruce Cran
Could you sent a pull request to integrate this change upstream please? -- Bruce Cran Sent from my iPhone On 28 Aug 2013, at 14:28, Steven Ogilvie wrote: > Yes exactly > > BA is using the same property for Setup/Uninstall for the success/failure > string > > I fixed this by changing the co

Re: [WiX-users] Can we dynamically modify .sql files at install time

2013-08-28 Thread John Cooper
Here's some code (lightly cleaned) from one of my installers for setting up some farm data in the product database table:

Re: [WiX-users] How to remove custom application with malformed uninstall package

2013-08-28 Thread Wheeler, Blaine (DSHS/DCS)
Coincidentally I just read this section of Robert Dickau's tips page http://www.robertdickau.com/msi_tips.html#unfix -Original Message- From: Simon Gerhold [mailto:simon.gerh...@cetis.si] Sent: Wednesday, August 28, 2013 2:14 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] H

Re: [WiX-users] Can we dynamically modify .sql files at install time

2013-08-28 Thread John H Bergman (XPedient)
Is there an example of this somewhere? -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Wednesday, August 28, 2013 8:14 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Can we dynamically modify .sql files at install time Yes

[WiX-users] WIX_TEMP

2013-08-28 Thread Phill Hogland
Using Wix 3.8.722 (and 3.8.823 debug build ) I read through the src code and observed where bind, candle, torch and other tools use the WIX_TEMP variable. I defined an environment variable. When I build my projects this folder is never used and it continues to users %temp% folder. Is there anyt

Re: [WiX-users] Burn, signature verification and failure on Vista

2013-08-28 Thread Phill Hogland
I cannot comment on Wix tools, but in general we have received many complaints from folks who install a third-party .Net 2.0 application, which we distribute, on networks which are locked down with no external access to an Authenticode certificate server. Form what I have read such a network shoul

Re: [WiX-users] Setting a value XmlConfig

2013-08-28 Thread Steven Ogilvie
Nice maybe I will switch it to the WIX instead of custom action dll -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: August-28-13 10:14 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Setting a value XmlConfig Steve

Re: [WiX-users] Setting a value XmlConfig

2013-08-28 Thread Steven Ogilvie
We support 7.5 and up -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: August-28-13 10:11 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Setting a value XmlConfig Steven, Thanks I was using that but decided to try

Re: [WiX-users] Setting a value XmlConfig

2013-08-28 Thread John Cooper
Yes, I've used AppCmd (mostly for auto start and non-HTTP protocol setup). I would recommend AppCmd before I would recommend direct hacking of the IIS config files. You'll need special permissions on those files before you even attempt the write, and you'll have to contend with IIS unpredicta

Re: [WiX-users] Setting a value XmlConfig

2013-08-28 Thread Natalie Carr
Steven, Just to show you how I done it within WiX: :) -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 28 August 2013 14:56 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setting a valu

Re: [WiX-users] Setting a value XmlConfig

2013-08-28 Thread Natalie Carr
Steven, Thanks I was using that but decided to try a different approach. Just a quick question as appcmd is not available on iis 6 do you use another method or do you not support it? Thanks Natalie -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 28 August

Re: [WiX-users] How to remove custom application with malformed uninstall package

2013-08-28 Thread John Ludlow
Glad I could help On 28 August 2013 14:13, Simon Gerhold wrote: > Thanks John & David, I used John's third option with orca.exe (I just > deleted the problematic custom action and all is good). > > Thanks :) > > -Original Message- > From: John Ludlow [mailto:john.ludlow...@gmail.com] >

Re: [WiX-users] Setting a value XmlConfig

2013-08-28 Thread Steven Ogilvie
I am using a custom action for that (I set mine to false) however after our product was released I saw this post: http://stackoverflow.com/questions/11687870/wix-installer-always-changes-apppool-to-enable-32bit-app below is my custom action just in case... [CustomAction] public static A

Re: [WiX-users] Setting a value XmlConfig

2013-08-28 Thread John Cooper
That just depends on the bitness of the component creating the AppPool. Win64="yes" for enable32BitAppOnWin64 'false' and Win64="no" for enable32BitAppOnWin64 'true'. Of course, you need to create the AppPool for this to work. We always install and create a new AppPool for our web services.

Re: [WiX-users] Setting a value XmlConfig

2013-08-28 Thread Natalie Carr
Hi John, I haven't done anything regarding permissions, although I am writing to it on a different component and that seems to be working. I am not trying to create a AppPool as I am using the default, I am just trying to change the enable32BitAppOnWin64 from false to true. Thanks -Origina

Re: [WiX-users] Add text to final window in burn bootstrapper/installer

2013-08-28 Thread Steven Ogilvie
Yes exactly BA is using the same property for Setup/Uninstall for the success/failure string I fixed this by changing the code in BA and adding a few extra string properties in the theme wxl file Setup Successful Setup Successful Uninstall Successful Setup Failed Setup Failed Uninstall F

Re: [WiX-users] Setting a value XmlConfig

2013-08-28 Thread John Cooper
1) I assume you have previously obtained permissions to the IIS [7-8] applicationHost.config file. Not just anybody can write to it. 2) It looks like you're creating an AppPool the hard way. One of the things the IIS Extension does really well is create AppPools. I would use the IIS Extensio

Re: [WiX-users] Can we dynamically modify .sql files at install time

2013-08-28 Thread John Cooper
Yes. The easy way is to inline them as sql:SqlString elements. You can then embed properties in them which allow you to dynamically change the SQL run. If inlining them is an issue, you could have a template SQL file with substitution tags in it, apply a custom action to make the substitution

Re: [WiX-users] How to remove custom application with malformed uninstall package

2013-08-28 Thread Simon Gerhold
Thanks John & David, I used John's third option with orca.exe (I just deleted the problematic custom action and all is good). Thanks :) -Original Message- From: John Ludlow [mailto:john.ludlow...@gmail.com] Sent: Wednesday, August 28, 2013 12:30 PM To: General discussion for Windows Ins

Re: [WiX-users] Add text to final window in burn bootstrapper/installer

2013-08-28 Thread Alain Forget
> "If you can set bundle properties you can use that property's value as your > text, maybe..." Could you be more specific on how this might be achieved? > "...the WixStdBA bootstrapper needs changed to allow better text on the 'success' pages. " Nice to know this is on the wix-dev's radar, bu

Re: [WiX-users] How to remove custom application with malformed uninstall package

2013-08-28 Thread John Ludlow
If this MSI is in the field then David's suggestion is the best option. I was assuming it was a development version on a test system, and you just wanted to clean that system down. On 28 August 2013 11:10, David Watson wrote: > > Make a minor update msi that fixes the issue and get your users (

[WiX-users] Can we dynamically modify .sql files at install time

2013-08-28 Thread Arunkumar Parvathy (Consultant)
Hi, Am new to WiX, so excuse if my question is too naïve. We use WiX to create msi for our product that will be installed in multiple sites. The product assumes a different behaviour for each site. We achieve this by means of WiX Transforms. I know that by using Wix, we can dynamically modify xm

[WiX-users] Setting a value XmlConfig

2013-08-28 Thread Natalie Carr
Hi I am trying to change a value setting in a config file using the following: This code does not change the value in the applicationHost.config file. I tried adding the action="create" but I then got the error during the setup that it could not open the XML file. W

Re: [WiX-users] How to remove custom application with malformed uninstall package

2013-08-28 Thread David Watson
Make a minor update msi that fixes the issue and get your users (or write a stub that) runs it from the command line with the repair and recache msi options. msiexec /fv your.msi /l*v log.txt -Original Message- From: John Ludlow [mailto:john.ludlow...@gmail.com] Sent: 28 August 2013 1

Re: [WiX-users] How to remove custom application with malformed uninstall package

2013-08-28 Thread John Ludlow
You have a couple of options: Firstly, there's the MSI Cleanup Utility http://gallery.technet.microsoft.com/MSI-cleanup-utility-3889c8db This is an old tool which I thought had been retired, but it's come in very handy. Note that this will not perform any uninstall operations or any MSI logic at

[WiX-users] How to remove custom application with malformed uninstall package

2013-08-28 Thread Simon Gerhold
I created a setup project with Wix Toolset, which does something like this: * install (into ProgramFiles/MyApp, Desktop shortcut, StartMenu,...) * create a folder ProgramFiles/MyApp/InstallFolder * create some files in the folder ProgramFiles/MyApp/InstallFolder * run a powershell

Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset

2013-08-28 Thread Tobias S
Had similar issues when using an x64 MSBuild to build our WiX solutions. What we did to solve these issues: a) Reg key to the x86 path of the Wix Toolset SDK in Progam Files (x86). Should be a reg file containing something like (depending on your install paths + WiX Version): Windows Registry Edit

Re: [WiX-users] RegistrySearch example in tutorial

2013-08-28 Thread Blair Murri
An MSI itself can be either 32-bit or 64-bit package, and it targets installing for that bitness (a 64-bit package cannot be used on a 32-bit platform, while a 32-bit package cannot access 64-bit sections of the filesystem). Typically your build settings set the bitness of the packages you create

Re: [WiX-users] Burn, signature verification and failure on Vista

2013-08-28 Thread Rob Mensching
Often this on test VM machines but I suppose unmanaged machines not connected to the internet would hit it. Basically, you need to be connected to the internet occasionally to participate in security since security changes over time (that which was safe may become unsafe). Or so those that designe

Re: [WiX-users] RegistrySearch example in tutorial

2013-08-28 Thread Robert Clancy
Hi Phil/Blair, I'm just trying to get through the tutorial on a x64 machine. The problem was resolved by creating the key in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node. I removed the key I had created in HKEY_LOCAL_MACHINE\SOFTWARE. It now works. I don't understand "Do you have a 32-bit MSI" or "i