Skip to content

Creating a Launcher #1079

Answered by RoyiAvital
RoyiAvital asked this question in Q&A
Jun 12, 2022 · 6 comments · 8 replies
Discussion options

You must be logged in to vote

OK, So basically what I'm after is how the nsi file look like just before it is compiled.
I guess if someone has built the distribution it may share it?

I am trying to go down the rabbit hole.

Step I

Running the function create_launcher() with name = VS Code.exe, icon = pathToIcon, command = wscript.exe, args = Noshell.vbs winvscode.bat, workdir = r'$EXEDIR\scripts and launcher = launcher_basic.nsi.

The function creates the list of tuples:

 data = [
            ('WINPYDIR', '$EXEDIR\%s' % self.python_name),
            ('WINPYVER', self.winpyver),
            ('COMMAND', 'wscript.exe'),
            ('PARAMETERS', 'Noshell.vbs winvscode.bat'),
            ('WORKDIR', '$EXEDIR\scripts'),
  …

Replies: 6 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@RoyiAvital
Comment options

@firai
Comment options

@RoyiAvital
Comment options

@RoyiAvital
Comment options

Comment options

You must be logged in to vote
1 reply
@RoyiAvital
Comment options

Comment options

You must be logged in to vote
1 reply
@RoyiAvital
Comment options

Comment options

You must be logged in to vote
1 reply
@RoyiAvital
Comment options

Comment options

You must be logged in to vote
1 reply
@RoyiAvital
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by RoyiAvital
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants