Giter Club home page Giter Club logo

Comments (12)

mherrmann avatar mherrmann commented on June 16, 2024 1

I think you need to place it in src/installer/windows/Installer.nsi. See the built-in one in fbs's source directory in fbs/_defaults.

from fbs-tutorial.

ChrisOKay avatar ChrisOKay commented on June 16, 2024 1

You thought correctly! Thanks for the additional hint on the _defaults folder to look up the structure, I did not know about that one yet.

from fbs-tutorial.

mherrmann avatar mherrmann commented on June 16, 2024 1

@abood91 sorry this is beyond the scope of my support. It's an NSIS question. I'd recommend you ask on StackOverflow.

from fbs-tutorial.

mherrmann avatar mherrmann commented on June 16, 2024

Hi Fredrik, good question. Right now, the necessary file Setup.nsi is contained in fbs and so "can't" be modified. My gut feeling would be to move it out of fbs and into fbs-tutorial, say at src/main/Installer.nsi. What do you think?

from fbs-tutorial.

fredrikaverpil avatar fredrikaverpil commented on June 16, 2024

Sure. I don't have a preference of exact location (other than easily being able to modify it) so I think that sounds good.

from fbs-tutorial.

mherrmann avatar mherrmann commented on June 16, 2024

Okay. I updated the tutorial and fbs now. You can customize the default install location by changing $PROGRAMFILES to $PROGRAMFILES64 in Installer.nsi.

from fbs-tutorial.

fredrikaverpil avatar fredrikaverpil commented on June 16, 2024

Very nice, thank you! :)

from fbs-tutorial.

mherrmann avatar mherrmann commented on June 16, 2024

My pleasure!

from fbs-tutorial.

ChrisOKay avatar ChrisOKay commented on June 16, 2024

So, I tried to implement that technique, but a custom installer.nsi placed in src/main was ignored by fbs installer and the default one was generated. I then tried to follow the tutorial, I accidentally followed the blob link here and then reached the outdated readme.md, which lead to issue #49 .
The latest tutorial does not seem to cover any custom nsi files anymore.
Long story short: Is it still possible to implement a custom installer.nsi (if so, how?), or is that a thing of the past?

from fbs-tutorial.

abood91 avatar abood91 commented on June 16, 2024

Hi @mherrmann Is it possible to provide example on how can use the src/installer/windows/Installer.nsi and provide AceesControl modification ?, I am after changing file permissions in resource directory, as my app can read but not write to that file

from fbs-tutorial.

abood91 avatar abood91 commented on June 16, 2024

@mherrmann Is there a possibility to sign the uninstaller as well ? I think this should be part of the implementation of the sign_installer function ?

from fbs-tutorial.

mherrmann avatar mherrmann commented on June 16, 2024

@abood91 You're right. The uninstaller probably should be signed by sign_installer.

from fbs-tutorial.

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.