Re: [WiX-users] Creating an ARP button for "Uninstall/Change" vs. "Uninstall" & "Change"

2015-07-15 Thread Joel Budreau
Sure thing. I’ll probably dig through the burn source code. Thanks Phill. > On Jul 15, 2015, at 1:58 PM, Phill Hogland wrote: > > I cannot speak to not using Burn, but in the last link that you originally > posted, the last post indicates that the information was posted earlier in > that thread,

Re: [WiX-users] Creating an ARP button for "Uninstall/Change" vs. "Uninstall" & "Change"

2015-07-15 Thread Joel Budreau
What if ‘not’ using a Burn bundle? > On Jul 15, 2015, at 6:14 AM, Phill Hogland wrote: > > Using a Burn bundle set Bundle/@DisableModify="button" > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Creating-an-ARP-button-for-Uninstall-Ch

[WiX-users] Creating an ARP button for "Uninstall/Change" vs. "Uninstall" & "Change"

2015-07-14 Thread Joel Budreau
I've been trying to google around for how to create a single "Uninstall/Change" button in the windows ARP for my installer, and I've run into a number of forum posts that don't seem to answer the problem: http://installjournal.blogspot.com/2012/12/combining-uninstall-change-on-same.html http://st

Re: [WiX-users] Condition Table not processed during Administrative Installs

2015-05-26 Thread Joel Budreau
those feature with 0 in the Level > column of the Feature table. > > ___ > FireGiant | Dedicated support for the WiX toolset | > http://www.firegiant.com/ > > -Original Message- > From: Joel Budre

[WiX-users] Condition Table not processed during Administrative Installs

2015-05-26 Thread Joel Budreau
Hey everyone, I have a feature ‘Foo’ with default InstallLevel=0. In the Condition table, I set Foo’s InstallLevel=1 if “VersionNT>=601 And MsiNTProductType=1”. - During a normal install, the Condition table will be processed and Foo will have its InstallLevel=1. - During an administrative insta

Re: [WiX-users] MsiSetFeatureState doesn't seem to be working

2015-05-21 Thread Joel Budreau
son wrote: > > Maybe MsiSetInstalLevel()? > --- > Phil Wilson > > > On Wed, May 20, 2015 at 5:38 PM, Joel Budreau wrote: >> Hmm, turns out that MsiSetFeatureState() won’t actually install a feature if >> the feature had it’s InstallLevel set to ‘0’ by

Re: [WiX-users] MsiSetFeatureState doesn't seem to be working

2015-05-20 Thread Joel Budreau
Hmm, turns out that MsiSetFeatureState() won’t actually install a feature if the feature had it’s InstallLevel set to ‘0’ by the Condition table. Now, to find out if there’s a way to set a feature’s InstallLevel through a custom action… > On May 20, 2015, at 7:40 PM, Joel Budreau wr

[WiX-users] MsiSetFeatureState doesn't seem to be working

2015-05-20 Thread Joel Budreau
Hey all, I’ve got a custom action that calls MsiSetFeatureState to set a feature (that’s initially set to InstallLevel=0 by the Condition table) to INSTALLSTATE_LOCAL. The custom action is an immediate action that’s scheduled after CostFinalize, but before InstallValidate. The custom action s

Re: [WiX-users] Major upgrade: a few files are not installed

2015-04-13 Thread Joel Budreau
You could pass REINSTALLMODE=amus so that all files are overwritten by the newer MSI - https://msdn.microsoft.com/en-us/library/aa371182%28v=vs.85%29.aspx > On Apr 13, 2015, at 9:36 AM, Lukas Rieger > wrote: > > I have the same issue as described here: > http://stackoverflow.com/questions/151

Re: [WiX-users] [WIX]:How to reset the INSTALLDIR path by changing the path using 'Change' button

2015-04-09 Thread Joel Budreau
Does this post help? - http://stackoverflow.com/questions/19355537/wix-setting-install-folder-correctly > On Apr 6, 2015, at 10:12 AM, Dileep S wrote: > > Hi All, > > I created an MSI with two dialogs. > 1. InstallDirdlg.wxs > 2. ProgressDlg.wxs > > In *.wxs file i have used some custom actio

Re: [WiX-users] General Visual Studio 2013 Help

2015-03-31 Thread Joel Budreau
> -- > John Merryweather Cooper > Senior Software Engineer | Integration Development Group | Continuing > Development > Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050 > |jocoo...@jackhenry.com > > > > -Original Message- > From: Joel

Re: [WiX-users] General Visual Studio 2013 Help

2015-03-30 Thread Joel Budreau
> -- > John Merryweather Cooper > Senior Software Engineer | Integration Development Group | Continuing > Development > Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050 > |jocoo...@jackhenry.com > > > > -Original Message- > From: Joel

[WiX-users] General Visual Studio 2013 Help

2015-03-29 Thread Joel Budreau
Hey guys, I thought I’d reach out to this group to see if anyone knew the answer to my problem off the top of their head: http://stackoverflow.com/questions/29329735/i-cant-figure-out-how-to-link-msi-lib-to-my-visual-studio-c-project

Re: [WiX-users] Error 1920. Service 'SomeService' failed to start

2015-03-13 Thread Joel Budreau
I’ve had success tracking down 1920 service-start errors by opening the exe in the dependency walker right after the error message is thrown (http://www.dependencywalker.com/). It’s not a perfectly reliable tool, but it will let you know if your binary is missing any static dependencies that wou

Re: [WiX-users] how to extract string from registry entry

2015-03-10 Thread Joel Budreau
I don’t know any way to perform that kind of string-manipulation in MSI itself. I’d go with a CA. > On Mar 9, 2015, at 8:35 AM, Namrata Kumari > wrote: > > I want to launch my application on default browser but getting extra content > in registry entry , how to extract exact values out from re

Re: [WiX-users] RegistrySearch on click

2015-03-06 Thread Joel Budreau
I think you’d have to write your own VB script/DLL custom action to: 1. Read the user’s input from a property 2. Read the existing value from the registry - http://stackoverflow.com/questions/34065/how-to-read-a-value-from-the-windows-registry 3. Write a property (or don’t) if the user’s input mat

Re: [WiX-users] Custom Action to Read XML value

2015-03-06 Thread Joel Budreau
http://stackoverflow.com/questions/23805767/wix-custom-actions-reading-parameters-from-an-xml-file ? > On Mar 6, 2015, at 2:45 PM, Davis, Jeff wrote: > > So does someone have the DLL or the code that does what is listed below that > is working? I am trying to work on a complex Wix Installer

Re: [WiX-users] How to show custom error text on SetupCompleteError dialog when a deferred CA fails.

2015-02-05 Thread Joel Budreau
I think the standard is to have the deferred action make a call to MsiProcessMessage (not MessageBox), passing in a reference to the Error table (that way your displayed strings won’t live inside dll resource files). https://msdn.microsoft.com/en-us/library/aa371247%28v=vs.85%29.aspx > On Feb

Re: [WiX-users] WiX MSI or Bundle - calling Windows Explorer with a specified folder

2015-02-05 Thread Joel Budreau
You can have a type-34 custom action launch “C:\Windows\explorer.exe ”. ” Return=“ignore” /> > On Feb 4, 2015, at 9:52 AM, Tall Tyke wrote: > > Hi, > > I posted a question yesterday, which was a bit bizarre and didn't get any > responses - so we have changed tack a bit and now want our instal

Re: [WiX-users] Custom Action after a Dialog

2015-01-29 Thread Joel Budreau
Hey Nagesh, What you’re looking for will be really similar to this example - http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/run_program_after_install.html Joel > On Jan 28, 2015, at 2:22 PM, Nagesh Hora wrote: > > Please help me in calling an custom action after a dia

Re: [WiX-users] Doesn't the Bootstrapper check to see if another instance of itself is running? [P]

2015-01-23 Thread Joel Budreau
Christopher Painter actually explained it better (about 3 years ago) - http://community.flexerasoftware.com/archive/index.php?t-198832.html 1) One Execute Sequence per system 2) One UI Sequence per process > On Jan 23, 2015, at 7:39 PM, Joel Budreau wrote: > > Once an MSI e

Re: [WiX-users] Doesn't the Bootstrapper check to see if another instance of itself is running? [P]

2015-01-23 Thread Joel Budreau
Once an MSI enters the InstallValidate (InstallInitialize) action in the InstallExecuteSequence it will obtain a system-wide MSI lock. It will only release it once it finishes the InstallFinalize action. So, the short answer is generally: two MSIs running the InstallExecuteSequence at the same

Re: [WiX-users] execute custom action before LaunchConditions in silent setup

2015-01-07 Thread Joel Budreau
Can you send some screenshots of your MSI’s InstallUISequence and InstallExecuteSequence and/or the declaration of your FixNetFramework45 custom action. > On Jan 6, 2015, at 6:02 AM, Yankulin, Leonid > wrote: > > Hello, > I have defined a custom action to be executed *BEFORE* the LaunchCondit

Re: [WiX-users] WIX build failures

2014-12-12 Thread Joel Budreau
A ha! I had Visual Studio 2012 installed, but I was missing “Update 4” (same issue here - http://stackoverflow.com/questions/19278446/why-is-the-option-for-visual-studio-2012-windows-xp-v110-xp-missing-in-visua). The build is running now :) Joel > On Dec 12, 2014, at 12:25 PM, Joel Budr

Re: [WiX-users] WIX build failures

2014-12-12 Thread Joel Budreau
Nope :/ Still getting the same build failures, even after installing the VS2012 & VS2013 SDKs… > On Dec 12, 2014, at 12:19 PM, Joel Budreau wrote: > > Thanks Phil, I’ll give that a try… > >> On Dec 12, 2014, at 12:15 PM, Phill Hogland wrote: >> >> Yo

Re: [WiX-users] WIX build failures

2014-12-12 Thread Joel Budreau
Thanks Phil, I’ll give that a try… > On Dec 12, 2014, at 12:15 PM, Phill Hogland wrote: > > You also need to get and install the vs2012SDK and the vs2013sdk (different > from windows sdk) > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.c

[WiX-users] WIX build failures

2014-12-12 Thread Joel Budreau
Hey guys, I’m not sure how to fix my build problems… What I’ve done so far: 1. Cloned the ‘wix3’ repo on my Win7x64 machine. 2. Followed the instructions on http://wixtoolset.org/documentation/manual/v3/wixdev/building_wix.html

Re: [WiX-users] Force overwrite DLL with previous version inMajorUpgrade?

2014-11-26 Thread Joel Budreau
's at the end and that will definitely invoke > file versioning rules. Not all major upgrades are the same and you > must have REP early to avoid versioning rules being applied. > --- > Phil Wilson > > > On Tue, Nov 25, 2014 at 1:24 PM, Joel Budreau wrote: >>

Re: [WiX-users] Need to support Downgrade installs

2014-11-26 Thread Joel Budreau
I don’t believe that this approach will actually work. The MSI components are evaluated during (before?) the CostFinalize action, so by the time InstallInitialize runs, the new MSI has already made up it’s mind about what components are going to be installed/ignored. This is fine if you always w

Re: [WiX-users] Need to support Downgrade installs

2014-11-26 Thread Joel Budreau
Hey Rich, If you make your installers set REINSTALLMODE=amus files will be overwritten regardless of their version. This would let you run upgrades and downgrades where whomever comes last wins. http://msdn.microsoft.com/en-us/library/aa371182%28v=vs.85%29.aspx - Joel > On Nov 26, 2014, at 1:

Re: [WiX-users] Force overwrite DLL with previous version inMajorUpgrade?

2014-11-25 Thread Joel Budreau
Hey Klaus, If you want to perform a major upgrade and make sure all the files from the newer installer are copied, make use of the REINSTALLMODE property - http://msdn.microsoft.com/en-us/library/aa371182%28v=vs.85%29.aspx If you set REINSTALLMODE=amus, the ‘a’ will ensure that all the new file

Re: [WiX-users] How to diff two MSMs

2014-11-21 Thread Joel Budreau
between two > databases. That might include merge modules. > --- > Phil Wilson > > > On Fri, Nov 21, 2014 at 6:58 AM, Joel Budreau wrote: >> Is there a good way to diff two merge modules to see what's changed

Re: [WiX-users] How to diff two MSMs

2014-11-21 Thread Joel Budreau
e merge modules. > --- > Phil Wilson > > > On Fri, Nov 21, 2014 at 6:58 AM, Joel Budreau wrote: >> Is there a good way to diff two merge modules to see what's changed between >> builds? >> >> Thanks, >> Joel >>

[WiX-users] How to diff two MSMs

2014-11-21 Thread Joel Budreau
Is there a good way to diff two merge modules to see what's changed between builds? Thanks, Joel -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Report

Re: [WiX-users] Uninstall restart issue

2013-06-25 Thread Joel Budreau
Hey Alain, Take a look at my answer to this problem on stackoverflow - http://stackoverflow.com/questions/6913332/wix-installer-problem-why-does-restartmanager-mark-service-as-rmcritical-and-no/8147540#8147540 Basically, you can 'lie' about the custom action and mark it as immediate instead of de

[WiX-users] heat question

2012-02-15 Thread Joel Budreau
Hi, I'm using WiX 3.0 and utilizing heat.exe to harvest a directory in my build tree. My goal is to generate a MSM using the resulting .wxs file. I have a couple of MSIs that will use this MSM, and each MSI will want to install the MSM files into a separate directory. Here's my problem: - B