[WiX-users] Keep File on upgrade

2015-05-06 Thread Brian Enderle
We distribute a config file with our product (stored in C:\ProgramData\MyCompany) that contains licensing info (entered after installation) that doesn't change between releases. How do I setup this file in the Product.wxs such that the file is installed if it doesn't currently exist. If the file

Re: [WiX-users] WiX vs. Microsoft Platform Ready

2015-04-07 Thread Brian Enderle
I have certified one product at our company which uses the WiX installer without issue, although it wasn't installing a service, just a program. Could you also post your Product.wxs and any related files? Also, are you doinga x86 or x64 build? Our product was build as x86 and certified on a Wind

[WiX-users] Changing the Product Name at install

2015-02-03 Thread Brian Enderle
We have a generic solution that is customized via a settings file to make a unique product. We license all of our products and part of the license check is to make sure the product name embedded in the license key matches the unique product's product name like so: // Check license against pro

[WiX-users] Prevent upgrade from version 1.0.1 to 1.0.2

2014-12-19 Thread Brian Enderle
We are doing an internal release of a product that is still in testing and because of the changes between to the latest version, it cannot be installed as an upgrade. I have the following in place now to prevent the upgrade: But how can I code this such that any version (1.0.2 or later) wi

[WiX-users] Access files in CustomAction without installing the files

2014-12-19 Thread Brian Enderle
Is it possible to access a file (in this case a SQL script) during the install process from a Custom Action without installing the file first to the hard drive? Currently I am doing this to access the file: FileInfo _file = new FileInfo(session.CustomActionData["Directory"] + "01_Create Database.

Re: [WiX-users] 3 digit bundle version number

2014-12-01 Thread Brian Enderle
Are you saying the path to your release build changes between developers? I don't use TeamBuild so I don't know how it works but on my system with just Visual Studio (using VSS for repository) the build path is set on the project/solution and carried over between check-in/check-out. For instance,

Re: [WiX-users] 3 digit bundle version number

2014-11-26 Thread Brian Enderle
The link you referenced shows a relative path to the dll, have you tried using $(SoluitonDir) instead? I don't use Team Build so I don't know if this would solve your problem. Brian If you can't explain

Re: [WiX-users] Define AssemblyProduct in BeforeBuild

2014-11-18 Thread Brian Enderle
s, Inc.® | Lenexa, KS 66214 | Ext: 431050 | > jocoo...@jackhenry.com > > > > -Original Message- > From: Brian Enderle [mailto:bria...@gmail.com] > Sent: Tuesday, November 18, 2014 7:52 AM > To: WiX Users > Subject: [WiX-users] Define AssemblyProduct in BeforeBuild

[WiX-users] Define AssemblyProduct in BeforeBuild

2014-11-18 Thread Brian Enderle
We currently get our product version in the .wixproj file by using the following: Is there a way to also get the AssemblyProduct and AssemblyTitle from Assembly.cs like we are with AssemblyVersion? I couldn't find anything that defined what 'Value' coul

Re: [WiX-users] Automatically 'harvest' files in VS 2013

2014-10-30 Thread Brian Enderle
I am referring to the task of harvesting files and creating a WXS file that contains a list of the files to be installed. I don't have a problem with doing the harvest as a BeforeBuild action but if there is an easier way I would like to know how. Brian If you can't explain it simply, you don't

[WiX-users] Automatically 'harvest' files in VS 2013

2014-10-30 Thread Brian Enderle
I currently use a call to to harvest all the files from a specific folder (i.e., SQL command scripts) like so: One my co-workers today thought he was doing the same thing but not by creating the BeforeBuild event. He thought there was something in the VS 2013 interface that allowed him to sp

Re: [WiX-users] Get only the name of a file by its id

2014-10-28 Thread Brian Enderle
If you need to install a different version of a particular file based on the version of IE installed on a machine you could check the registry key HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > InternetExplorer > Version Vector and then install files using a condition like so: ...

[WiX-users] Check if directory exists (not INSTALLDIR)

2014-10-28 Thread Brian Enderle
I have the following custom dialog in which I capture SQL login info and the path to an existing FoxPro installation. I would like to check that the path entered for the FoxPro path does exist before proceeding. I found this solution for checking if a directory exists ( http://stackoverflow.com/q

[WiX-users] Display messages from Custom Action in ProgressDlg?

2014-10-24 Thread Brian Enderle
Is it possible to display messages from a custom action in the ProgressDlg (the screen with the progress bar)? I would like to display the names of SQL scripts as they are running. I have to do this in a Custom Action as there are other things to do as the scripts are executed. Brian If you ca

Re: [WiX-users] Return to Dialog Screen on Custom Action Error

2014-10-22 Thread Brian Enderle
.@jackhenry.com > > > > -Original Message- > From: Brian Enderle [mailto:bria...@gmail.com] > Sent: Wednesday, October 22, 2014 8:18 AM > To: WiX Users > Subject: [WiX-users] Return to Dialog Screen on Custom Action Error > > I have a Custom Action that checks tha

[WiX-users] Return to Dialog Screen on Custom Action Error

2014-10-22 Thread Brian Enderle
I have a Custom Action that checks that a directory path entered by the user is valid. I would like to return to the setup screen which contains the 'Directory Path' edit box if the path is invalid (ActionResult.Failure). Can this be done? Brian If you can't explain it simply, you don't unders

Re: [WiX-users] When to call CustomAction

2014-10-22 Thread Brian Enderle
Service Applications | Continuing > Development > Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050 | > jocoo...@jackhenry.com > > > > -Original Message- > From: Brian Enderle [mailto:bria...@gmail.com] > Sent: Tuesday, October 21, 2014 12:24

[WiX-users] When to call CustomAction

2014-10-21 Thread Brian Enderle
I am trying to run a CA after setting up a website to modify the web.config file based on the IIS version being used. What should I use for the "After" value (in the InstallExecuteSequence) to make sure the CustomAction executes after the website is installed? Here is the code I am using: ...

Re: [WiX-users] Installing a 64 bit file as part of a 32 bit setup

2014-10-15 Thread Brian Enderle
gt; -Original Message----- > From: Brian Enderle [mailto:bria...@gmail.com] > Sent: Wednesday, October 15, 2014 2:33 PM > To: WiX Users > Subject: [WiX-users] Installing a 64 bit file as part of a 32 bit setup > > I am creating an installer for a 32 bit application. One of i

[WiX-users] Get results from SqlScript?

2014-10-15 Thread Brian Enderle
Is it possible to get the results from a and assign to a variable/condition in a MSI or would I have to use a custom action to accomplish this? I am running a that I know will return just one value (one row, one column). Brian If you can't explain it simply, you don't understand it well enoug

[WiX-users] Installing a 64 bit file as part of a 32 bit setup

2014-10-15 Thread Brian Enderle
I am creating an installer for a 32 bit application. One of items that needs installed is a 64 bit CLR (SSHRA_Extend64.dll). The file needs to be installed to "C:\Program Files\blah" on a 64 bit Windows machine, while the application needs to be installed to "C:\Program Files (x86)\blahblah" I a

Re: [WiX-users] Running SQL script without creating a database

2014-10-14 Thread Brian Enderle
imply, you don't understand it well enough. - Albert Einstein On Tue, Oct 14, 2014 at 1:02 PM, Brian Enderle wrote: > Thanks, I see that specifying under a Component forces the install. I > have removed the component tag and am now trying to call it like so: > > >

Re: [WiX-users] Running SQL script without creating a database

2014-10-14 Thread Brian Enderle
t; fail if the database does not exist in these cases. > > > _ > Short replies here. Complete answers over there: > http://www.firegiant.com/ > > > > -Original Message- > From: Brian Enderle [mailto:bria...@gmail.com] > Sent: Tuesday, October 14, 201

[WiX-users] Running SQL script without creating a database

2014-10-14 Thread Brian Enderle
I have a script file that creates a couple of databases. I am trying to run this script from WiX as follows (parameters captured from GUI): When I run this WiX wants to create a database for me using the parameters specified. Is

[WiX-users] MSI screens not shown during Bootstrapper installation

2014-10-09 Thread Brian Enderle
I have created an MSI that uses WixUI_InstallDir option to display the install path and a license file. Running the MSI correctly displays the install path screen and the license screen. I am now wanting to include this MSI in a bootstrapper project so when can install some other projects togethe

Re: [WiX-users] Code Signing

2014-06-27 Thread Brian Enderle
Found this method from another post, not sure if it is a best practice but works well for us. In the *.wixproj file add the following just before the closing tag: For signing an MSI: "C:\Program Files (x86)\Windows Kits\8.0\bin\x86\signtool.exe" sign /f "$(ProjectDir)yourFile.pfx" /p y

[WiX-users] Silent Install of Bootstrapper

2014-06-19 Thread Brian Enderle
Is it possible to do a silent install of a bootstrapper (.exe file). If so can you provide an example? Brian If you can't explain it simply, you don't understand it well enough. - Albert Einstein -- HPCC Systems Open So

[WiX-users] Wrong DLL reference in installer

2014-06-02 Thread Brian Enderle
I have built a service that requires common.logging DLL. This service works correctly when I manually install using 'installutil'. I have included common.logging DLL as a component in the Product.wxs file and when I install and run the service using the WiX installer I get an error message about

[WiX-users] Starting a service from an MSI

2014-05-16 Thread Brian Enderle
I have an MSI that installs everything correctly (when I don't try to start the service). When I try to start the service it fails with the message "...Failed to start. Verify that you have sufficient privileges to start system services" Is it possible to start a service from an MSI? Here is m

Re: [WiX-users] Set Product version in Product.wxs file

2014-02-10 Thread Brian Enderle
I know this doesn't do exactly what you want but we use the product version of the actual EXE to assign the product version to the MSI. THis way we only need to update the project version and the installer version is automatically updated. Be sure to replace the items in <> with your info. FYI,

[WiX-users] DO NOT install files during upgrade condition

2014-02-10 Thread Brian Enderle
Is it possible to NOT install a file during installation if doing an upgrade? I imagine a condition would cover this but not sure what conditions to apply. TIA, Brian If you can't explain it simply, you don't understand it well enough. - Albert Einstein -

Re: [WiX-users] Prompt User before upgrading

2014-01-23 Thread Brian Enderle
Yes, I am using the WIXUI_InstallDir. Brian Brian If you can't explain it simply, you don't understand it well enough. - Albert Einstein On Thu, Jan 23, 2014 at 11:57 AM, Jeremiahf wrote: > Are you using a UI? > > > On Wed, Jan 22, 2014 at 10:56 AM, Brian Enderle w

[WiX-users] Prompt User before upgrading

2014-01-22 Thread Brian Enderle
Is there a way using 'MajorUpgrade' to prompt the user with a message (either in the installer window or via a pop-up window) that running this installer will remove previous versions of this product and let the user select to either cancel or continue? Brian If you can't explain it simply, you

Re: [WiX-users] How to get package version using burn API

2014-01-13 Thread Brian Enderle
I use the following in my project, adding it to either the WiX project file or as a task during 'msbuild': This gets the version applied to the DLL file and then parses out the piec

Re: [WiX-users] Custom Action Build Error

2014-01-10 Thread Brian Enderle
ks. > > If all goes well, the bug fix will reqire editing the preprocer > variable to include the trailing slash. Once that's done you can > remove the manual edit we created from the targets file. > > Carter > > Quoting Brian Enderle : > > > When I attempt to bui

[WiX-users] Custom Action Build Error

2014-01-10 Thread Brian Enderle
When I attempt to build my CustomAction project Visual Studio exits with a code of 3. I have tracked the issue to the way wix.ca.targets references the path to MakeSfxCA.exe. In wix.ca.targets the following is what creates the path: When VS 2012 uses this path it is interpreted

Re: [WiX-users] Selectively install based on radio button value

2014-01-09 Thread Brian Enderle
Brian If you can't explain it simply, you don't understand it well enough. - Albert Einstein On Thu, Jan 9, 2014 at 7:33 AM, Brian Enderle wrote: > I have the following components that get installed: > > >

Re: [WiX-users] Website and AppPool settings

2014-01-09 Thread Brian Enderle
ell enough. - Albert Einstein On Thu, Jan 9, 2014 at 9:27 AM, Carter Young wrote: > This will get you started: > > http://www.codeproject.com/Articles/115036/Creating-WIX-Installer-for-ASP-NET-Web-Application > > Carter > > Quoting Brian Enderle : > > > I am co

[WiX-users] Website and AppPool settings

2014-01-09 Thread Brian Enderle
I am converting a install project from an older Windows Installer to WiX. This project sets up a website and associated application pool with the following parameters (used in conjunction with the System.Configuration.Install.Installer class):

[WiX-users] Selectively install based on radio button value

2014-01-09 Thread Brian Enderle
I have the following components that get installed: I have implemented a UI screen that implements two radio buttons that ask the user if they want the IIS configuration setup for them as follows: ...

Re: [WiX-users] Chaining .NET 3.5 in Burn

2014-01-08 Thread Brian Enderle
While this is not an MSI chain, I did the following in a bootstrapper as I needed to make sure vcredist_x86 was installed before something else in the program setup: http://schemas.microsoft.com/wix/2006/wi"; xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>

[WiX-users] Update to 3.8 broke old projects.

2013-12-30 Thread Brian Enderle
I recently updated WiX to 3.8 (from 3.7) and had to modify an older solution that includes an installer built using 3.7. When I try to open the solution I get the following error: The imported project "C:\Program Files (x86)\WiX Toolset v3.8\bin\Wix.targets" was not found. Confirm that the path i

Re: [WiX-users] Candle & pre-processor variables

2013-12-27 Thread Brian Enderle
ixproj in order for that macro to be defined. > > -- > 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 > > > >

[WiX-users] Candle & pre-processor variables

2013-12-27 Thread Brian Enderle
I am following the example of installing a website found at http://blog.bartdemeyer.be/2013/10/create-an-installer-for-website-with-wix-part-1/. I am running into an issue when I try to use the following in the setup.build file used by msbuild: When I t

[WiX-users] TargetDir question

2013-12-23 Thread Brian Enderle
I found a method to apply digital signature to a number of files before building my MSI using the files found in MyProject/obj/Debug (or Release based on my build preference). When I build my MSI I have the following to include what should be the signed file: After buildin

[WiX-users] Signing all DLLs and EXEs in project

2013-12-18 Thread Brian Enderle
Is there a way I can sign all the DLLs and EXEs in my project using WiX via signtool? I was hoping there might be something available in the @Component element that would allow me to selectively sign DLL/EXE files so that I could avoid signing DLLs that I did not create. Brian If you can't expla

Re: [WiX-users] Using signtool to sign bootstrapper

2013-12-13 Thread Brian Enderle
This was an issue but I resolved it by using: /tr http://timestamp.comodoca.com/rfc3161 /tr Specifies the URL of the RFC 3161 time stamp server and is somehow different than /t (I didn't dig into the differences) It appears the problem I was encountering was due to the Crystal Report MSM (see my

[WiX-users] Using signtool to sign bootstrapper

2013-12-12 Thread Brian Enderle
I have been unable to resolve but don't seem to affect the program. Is there a way to tell the wixproj to also "Always" do the signing regardless of the outcome? Brian Enderle If you can't explain it simply, you don't understand it well enough. - Albert Einstein ---

Re: [WiX-users] upgrade: current install is per-machine but related install is per-user. skipping...

2013-12-12 Thread Brian Enderle
This is a vcredist.wxs file I found somewhere recently which works well for me. It installs both x86 and x64 vcredist if needed, or just comment out what you don't need. Please note that the code below is for installing vcredist v3.5 which I needed for Crystal Reports so make sure you update the

[WiX-users] ICE Errors and how to resolve

2013-12-12 Thread Brian Enderle
om/wix/UtilExtension";> Thanks in advance, Brian Enderle If you can't explain it simply, you don't underst

[WiX-users] Using Windows SDK Bootstrapper Packages with WiX

2013-12-09 Thread Brian Enderle
In tracking down another issue I came across the folder C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\Bootstrapper\Packages that looks like it contains a number of pre-made installer items for various programs. I have a project I am on now that requires Crystal Reports and would like to know:

[WiX-users] Digitally Sign BootStrapper project

2013-12-09 Thread Brian Enderle
I have posted a question on StackOverflow asking how to digitally sign a bootstrapper: http://stackoverflow.com/questions/20381525/wix-digitally-sign-bootstrapper-project. I can successfully sign an installer (MSI file) but am having some issues with the bootstrapper (EXE file). I would appreciat