Giter Site home page Giter Site logo

Comments (5)

mvanotti avatar mvanotti commented on July 29, 2024

Hi!
I was able to create the shortcut without problems, but I need a little bit more information about the WXS file (https://github.com/mozilla/mig/blob/master/conf/mig-agent-installer.wxs )

The guids are created randomly? Should I just create a new guid for any new element I'd like to add?
Why does the MainExecutable have a GUID as its id? Is it inteded to be the same forever? We could use something like MigAgentBinary as the id.

from mig.

jvehent avatar jvehent commented on July 29, 2024

I have limited understanding of WXS, but I think at least the product.Id and ProductUpgradeCode need to remain the same across releases. The rest can probably change.
But if you've got a better way to do this, feel free to change it.

from mig.

mvanotti avatar mvanotti commented on July 29, 2024

I see that. But I'm talking about the Id of the File in the MainExecutable component, I need to refer to that from the ShortCut. It's ok, I can reuse that Id, but all the tutorials and examples I've seen use more detailed names, in this case, something like migAgentExe or migAgentBinary

from mig.

jvehent avatar jvehent commented on July 29, 2024

This one?

<File Name='mig-agent-$(var.ProductVersion).exe'
    Id='25ac5e4f-3f70-4e21-9389-7e5fcd6fde9d' />

If it's just a string and doesn't need to conform to a uuid format, just replace it with something sensible. MigAgentBinary sounds good.

from mig.

ameihm0912 avatar ameihm0912 commented on July 29, 2024

Issue no longer relevant as a number of Windows related changes have been made since

from mig.

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.