[WiX-users] Wix + MSBuild + content files

2012-09-19 Thread Cristian Prieto
Hi Wix user list! I've been trying to solve a very small issue with a manually created Wix proj file and resource files... My wixproj file (done without Visual Studio but by hand) looks like this: http://schemas.microsoft.com/developer/msbuild/2003"; ToolsVersion="4.0"> $([System.IO.Directo

Re: [WiX-users] Burn managed UI - how to cancel and rollback?

2012-09-19 Thread Kannan24
Hi, I have the same problem, can you please explain with detail? i.e how to set the args.Result to cancel? Is there any events for set args.cancel? Could you help for this? Thanks, Kannan -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-ma

Re: [WiX-users] Burn standard UI .wxl

2012-09-19 Thread Nick Ramirez
The RtfLicense standard UI works. Are there any known issues with the "Foundation" UI? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-standard-UI-wxl-tp7580680p7580681.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] Burn standard UI .wxl

2012-09-19 Thread Nick Ramirez
I've got the following markup in my bootstrapper: And I am getting the following error when I run it: Error 0x80070002: Failed to probe for loc file: thm.wxl in path: C:\Users\Win7\AppData\Local\Temp\{489e3324-6d8d-4ff5-953f-dad01c33c9a4}\.ba1\ Error 0x80070002: Failed to initialize dat

Re: [WiX-users] modify XML file using utils:XmlConfig...

2012-09-19 Thread Chad Petersen
Your ElementPath isn't pointing to anything beyond your root element of appplicationSettings, as far as I can tell. You need to use XPath to specify the inner text of that deeper element. Seems it is almost always some trial and error to nail these. I like to create a mini installer that does no

[WiX-users] modify XML file using utils:XmlConfig...

2012-09-19 Thread StevenOgilvie
Sigh... I need to modify an xml file: *false* 3 SQL Server Database Provider I need to change the false to a true... here is my xmlconfig code: What the heck am I doing wrong? Frustrated, Steve -- V

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

2012-09-19 Thread Neil Sleightholm
You might want to look at the element http://wix.sourceforge.net/manual-wix3/major_upgrade.htm it makes it easier to implement upgrades. Neil -Original Message- From: Alec [mailto:alecs...@gmail.com] Sent: 19 September 2012 22:12 To: wix-users@lists.sourceforge.net Subject: -SPAM-

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

2012-09-19 Thread Alec
I took that Upgrade snippet from Rob's answer on http://stackoverflow.com/a/724098. Let me try this with Minimum set. Thanks, Alec On Wed, Sep 19, 2012 at 3:09 PM, Hoover, Jacob [via Windows Installer XML (WiX) toolset] wrote: > Hmm, I think you are missing a minimum on OlderVerionBeingUpgrade

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

2012-09-19 Thread Hoover, Jacob
Hmm, I think you are missing a minimum on OlderVerionBeingUpgraded As far as App Compat, I was talking in the logs. In you logs, it looks as if your ProductCode hasn't changed between the two? (The product code should only be the same if you are doin

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

2012-09-19 Thread Alec Swan
We are trying to upgrade from 18.3 to 19.0.1. Here is the upgrade code: How do we ignore APPCOMPAT? Do you need any other info? Thanks, Alec On Wed, Sep 19, 2012 at 2:50 PM, Hoover, Jacob wrote: > Ignore the APPCOMPAT. > > What does your Upgrade table look like? What are the versions

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

2012-09-19 Thread Hoover, Jacob
Ignore the APPCOMPAT. What does your Upgrade table look like? What are the versions of the old and new MSI? -Original Message- From: Alec Swan [mailto:alecs...@gmail.com] Sent: Wednesday, September 19, 2012 2:49 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-

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

2012-09-19 Thread Alec
I just verified with QA that both UI AND silent upgrades fail, which I believe is caused by the absence of Package Id in the old product version. So, the question now is if there is a way to automatically uninstall the old version of the product without Package Id when upgrading to the new product

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

2012-09-19 Thread Alec Swan
Hello, We are testing upgrade from an older version to the version we are about to release. We noticed that upgrading "msiexec.exe /i my.msi" successfully upgrades the old product files with the new ones. However, silently installing with the following command fails: msiexec.exe /i my.msi REINSTAL

Re: [WiX-users] upgrading from 64-bit to 32-bit product leaves files behind

2012-09-19 Thread Benjamin Kaduk
Bob Arnson wrote: > Benjamin Kaduk wrote: > > I'm really confused by this behavior, and don't know where to look > > further. > The verbose upgrade log. It will tell you why MSI decided to leave a > ile behind. The problem is, as far as I can tell from the verbose upgrade log, MSI does not think

[WiX-users] Overriding Default NETWORK SERVICE Identiry for IISAPPOOL if Propery is Present

2012-09-19 Thread Zac Emmel
(Using WiX 3.5) For a particular web application, we want to use the network service account in most cases, but in some cases, we want to use a domain service account. Is there a way to default to the network service identify, but override that and use a domain user account if certain propertie

Re: [WiX-users] instructions for "Creating a Simple Setup" don't work (using VS2010 and WiX 3.6)

2012-09-19 Thread Doug Keislar
That was it, thanks!! I've added the MyApplication project to the solution for MySetup, and now it shows up under the Projects tab. I hadn't used the "Add References" feature of VS2010 before, so this wasn't at all obvious to me. Also, I was using the default setting in the New Project dialog

Re: [WiX-users] instructions for "Creating a Simple Setup" don't work (using VS2010 and WiX 3.6)

2012-09-19 Thread Hoover, Jacob
Silly question but you do have both projects within the same solution, right? -Original Message- From: Doug Keislar [mailto:d...@musclefish.com] Sent: Wednesday, September 19, 2012 12:21 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] instructions for

Re: [WiX-users] instructions for "Creating a Simple Setup" don't work (using VS2010 and WiX 3.6)

2012-09-19 Thread Doug Keislar
Thanks, Jacob, for the explanation about Setup Project being the right type. Good to know. Actually, I didn't miss the next step about selecting the Projects tab. I did select it, but as I had mentioned (probably not very clearly), there were no items listed under Projects at all (which is wh

Re: [WiX-users] Managed Bootstrapper Loading Issue

2012-09-19 Thread Rob Mensching
Maybe try using fuslogvw to see if there are some .NET Framework load failures? On Wed, Sep 19, 2012 at 6:43 AM, Javier Ibanez wrote: > Thanks for replying, Bob. > > I tried placing 3.5 frameworks first, but I still get the same behavior. I > also tried removing the 4.0 and just leaving 3.5, but

Re: [WiX-users] set a property using If statements

2012-09-19 Thread Natalie Carr
Thanks use two, great help. I know the default so I was able to just use one set property. Thanks -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 19 September 2012 15:32 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] set

Re: [WiX-users] set a property using If statements

2012-09-19 Thread Peter Shirtcliffe
Sorry, I'd forgotten about that. Thanks Nelya. You'd end up with 2 custom actions with the same Id. You need to write out one or both of the set property custom actions in long form as shown in the previous post (SetProperty is just a shorthand). -Original Message- From: Nelya Iva [mailto:

Re: [WiX-users] set a property using If statements

2012-09-19 Thread Nelya Iva
A small addition to Peter's answer. I think that you'll get a warning like: 'duplicate of id SetNumloggers'. So better use CustomAction element with two different 'ID'. ProductName = "somevalue" 2012/9/19 Peter Shirtcliffe > Yes. Youd use a pair of SetProperty elements (or a default proper

Re: [WiX-users] set a property using If statements

2012-09-19 Thread Peter Shirtcliffe
Yes. Youd use a pair of SetProperty elements (or a default property setting and an override): e.g. ProductName = "somevalue" You would need to set the Before or After attributes if you wanted the assignment to take place earlier than the default. This only makes sense if your condition can onl

Re: [WiX-users] Managed Bootstrapper Loading Issue

2012-09-19 Thread Javier Ibanez
Thanks for replying, Bob. I tried placing 3.5 frameworks first, but I still get the same behavior. I also tried removing the 4.0 and just leaving 3.5, but the problem persists. Looks to me like the framework is correctly detected (as there are no missing framework errors), but for some reason bur

Re: [WiX-users] set a property using If statements

2012-09-19 Thread Natalie Carr
Peter is it possible for this to be done at run time? -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 19 September 2012 13:05 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] set a property using If statements The code you

Re: [WiX-users] set a property using If statements

2012-09-19 Thread Natalie Carr
Yes, I took out the secure="yes" and it works fine. Thanks -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 19 September 2012 13:05 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] set a property using If statements The code

Re: [WiX-users] set a property using If statements

2012-09-19 Thread Peter Shirtcliffe
The code you give seems fine. Did you want to do it at run-time instead of at compile time ? -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: 19 September 2012 12:37 To: wix-users@lists.sourceforge.net Subject: [WiX-users] set a property using If statement

Re: [WiX-users] upgrading from 64-bit to 32-bit product leaves files behind

2012-09-19 Thread Michael Urman
On Tue, Sep 18, 2012 at 8:17 PM, Bob Arnson wrote: > On 18-Sep-12 16:24, Benjamin Kaduk wrote: >> I'm really confused by this behavior, and don't know where to look >> further. > The verbose upgrade log. It will tell you why MSI decided to leave a > file behind. If it decided to do so. It could a

[WiX-users] set a property using If statements

2012-09-19 Thread Natalie Carr
Is it possible to set a property using If statements, I would like something like this to work but it doesn't and I am not sure if it can even be done: Kind Regards, Natalie Carr ---