Comments (5)
morning, first question: why do you want also check 4 digit or install version ? Some major reasons ? Second - AFAIK msi do always ignore 3 and 4 digit in version number. If you want always to uninstall and then install your newer version of msi package, just set always newer version to new msi package and add version number to output msi like project.Version to msi package on buildmsi(). Thats it. There also extension in visual studio 2022 for change current version number.
i use for example https://marketplace.visualstudio.com/items?itemName=Newky2k.VersionChanger2022 this one or https://marketplace.visualstudio.com/items?itemName=PrecisionInfinity.PrecisionInfinityAutomaticVersions3 . Which allows your custom version on build current project. Just need some configuration.
best regards. Torchok.
from wixsharp.
@CADbloke Having encountered/solved this myself, I would recommend you handle versioning yourself via post-processing the msi with e.g. DTF: https://wixtoolset.org/docs/tools/dtf/
Might be nice to eventually add to wixsharp natively, as the current options are....restrictive at best.
Not sure how that would play with patch support though...
from wixsharp.
My mistake, it was @smaudet who suggested WixSharp should handle this task.
@smaudet, can you elaborate on your proposal? What post-processing versioning did you have in mind?
from wixsharp.
The first 3 sets of digits count, the 4th set is ignored. I use AutomaticVersions (link above) to increment the 3rd digit as a build number so it always gets updated. I use the 4th digit yyddd
as a date-stamp (ddd
is the day of the year, 1-366). Semantic, no - useful, yes. By the time int
overflows for the year I will be dead.
from wixsharp.
Might be nice to eventually add to wixsharp natively
@CADbloke, can you please elaborate on that? I agree that it makes sense for WixSharp to handle this task. So please share the solution that you have in mind.
from wixsharp.
Related Issues (20)
- Info: SFXCA: Failed to create temp directory. Error code 5 HOT 3
- How to execute rollback imeediately If i click on cancel after install execute sequence has started ? HOT 3
- Overview of which SetupEventHandler is fired on which type of project HOT 2
- Wix Woolkit 3.14.1 not working "SFXCA: Failed to create temp directory. Error code 5" HOT 9
- MSI build is failing with failed to add file - Even path is available HOT 7
- How to see in WixSharp project which Wix toolkit version is being used AFTER it has been created? HOT 3
- Restart Office apps after installation HOT 23
- Reg. Value Compare with NSIS BootStrapper HOT 3
- Some strings in Dialogs from .wxl are not replaced in Custom WPF UI HOT 6
- Snoop support HOT 3
- Incorrect FirewallException.IcmpTypesAndCodes property type HOT 3
- Using other (not Caliburn.Micro) MVVM framework HOT 1
- Sign Wixsharp dlls HOT 4
- [Question] Is there better way to create BA Installer for user choice ?
- Project GUID in Wix# script gets assigned as upgrade code and project ID is differently generated HOT 3
- Enable signing all user supplied files by default (continuation of #1543)
- Error on adding FirewallException HOT 1
- Hidden child features in FeaturesDialog.UserSelectedItems HOT 1
- Extracting a zip file during installation HOT 2
- Downgrading a DLL during an upgrade
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wixsharp.