Giter Site home page Giter Site logo

Comments (5)

Torchok19081986 avatar Torchok19081986 commented on August 31, 2024 1

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.

smaudet avatar smaudet commented on August 31, 2024 1

@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.

oleg-shilo avatar oleg-shilo commented on August 31, 2024 1

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.

CADbloke avatar CADbloke commented on August 31, 2024

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.

oleg-shilo avatar oleg-shilo commented on August 31, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.