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
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
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
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
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.
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,
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
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
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
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
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
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:
...
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
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
.@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
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
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
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:
...
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
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
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
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:
>
>
>
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
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
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
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
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
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
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
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,
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
-
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
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
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
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
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
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:
>
>
>
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
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):
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:
...
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";>
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
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
>
>
>
>
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
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
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
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
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
---
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
om/wix/UtilExtension";>
Thanks in advance,
Brian Enderle
If you can't explain it simply, you don't underst
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:
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
52 matches
Mail list logo