28

WIX: How to dynamically configure the name of the msi output file

 2 years ago
source link: https://www.codesd.com/item/wix-how-to-dynamically-configure-the-name-of-the-msi-output-file.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

WIX: How to dynamically configure the name of the msi output file

advertisements

I want to include some dynamic part in the filename of the msi file my wix projects produce. This dynamic part should be controlled by variables which are part of my wix project and are declared like this:

<?define ProductVersion="7.1.0.1" ?>

Does anybody know about a way of sending that value of that wix variable to the linker to use it as a part of the output filename?

By the way: I'm using Wix3


Since it's just a file name, why not have a post-build action that renames the file in your build script (assuming MSBuild)?

Related Articles

How to configure the log4j output file to be relative to my pot?

I have an intellij java project. I have added this log4j.properties # Root logger option log4j.rootLogger=INFO, file, stdout # Direct log messages to a log file log4j.appender.file=org.apache.log4j.RollingFileAppender log4j.appender.file.File=C:\\log

How to dynamically configure the log file using App.config and System.Diagnostics?

I was looking for a solution to provide logging to my latest project when I came across an article ( http://www.daveoncsharp.com/2009/09/create-a-logger-using-the-trace-listener-in-csharp/ ) that talked about using System.Diagnostics and App.config t

Dart: How to dynamically configure the innerHTML of the document body

I see that Dart has a BodyElement class, and that it has an innerHTML property. I also see that you can access the current document's body via window.document.body, however, there are no getter/setter methods for this body property. So I'm trying to

How to dynamically configure the visibility of the ASP.net hyperlink

I have a DataGridView with ASP.net hyperlink fields inside of it. What I'm trying to do is not display a certain hyperlink based on a condition. I have SQL that determines if the hyperlink should be hidden or not, but I'm having trouble getting this

How to correctly configure the Realm DB file path (<db_name> .realm) in the iOS project?

Sorry for my english. I have developed a mobile application that needs its own local data store. I chose Realm as the database management system. In the process of studying the Realm documentation I had no problems with the database design, it's norm

How do I configure the security.policy file for a specific application from NetBeans?

I am having a bit of trouble -- a lot actually -- trying to figure out how get NetBeans to read my policy file for a particular application. Please take a look at the below code: public static void main(final String[] args) { System.setSecurityManage

Add WiX Custom Action to copy the MSI log file to the LOCALAPPDATA folder

How can I author a WiX custom action that Is always called at the end of an installation, at least if there's an install error Copies the current MSI log file from its current local to the user's APPDATA folder I have this managed custom action code.

How to dynamically configure the model table name?

I have a legacy db (oracle), in that db I have several tables that hold different data but are structurally the same. I am not allowed to change the DB schema in any way! I wanted a DRY ActiveRecord Model to fetch the right data from the right tables

How to dynamically configure the Zingchart attribute in Angular ng-Repeat

Using AngularJS, I'm trying to build a page which features a different dynamically generated Zingchart for each object in an array. My problem is that -- as the data and variable names are dynamically generated in my controller on page load -- I'm no

Android: how to dynamically configure the src ImageView in a list

I'm new to android, i have a news website and i'm developing an android app, the main activity catches a JSON node from this link and displays all the articles in a ListView, each item in the list has an image, title and a teaser of this particular a

How to dynamically configure the style of an item in a user control

In a WPF project, I have a user control (Valve.xaml) that defines a Polygon shape. <Grid> <Polygon Name="pValve" Points="0,50 0,20 50,50 50,20" Style="{StaticResource Valve_Open}"/> </Grid> I am displaying t

C # WPF How to dynamically configure the Setter Property method?

I've been searching around but I just can't seem to find what I'm looking for, so I'll give it a go here. Situation: I have the class MainWindow and MainWindowData. In MainWindowData are only public properties defined with the attribute UpdateGUI. pu

How to dynamically configure the imageView source for a list view from the custom adapter?

I'm trying to set an imageView source based on a string within a custom ArrayAdapter, but I'm unable to get it to work. I know the object rec_gift is coming through correctly and the icon_string variable get's the correct name, but the setImageResour

How to dynamically configure the directory for user-specified libraries

I have some fairly complex libraries that interconnect with each other to do some work, and while they mostly run on our servers, they're connecting to some high-performance servers to crunch numbers. On our servers, the line is ... use lib '/home/ou

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK