Click here to Skip to main content
15,901,853 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:

I'm trying to convert my python project into setup file (currently I have it in exe compressed to zip file) including giving an option to the user to add a shortcut to desktop (or even create it automatically after installation is done).
My app is going to be installed at $PROGRAMFILES\Appname
Does anyone know what to deal with it ?

Thanks in advance

What I have tried:

I was tried to modify Modern.nsh with different commands.. but without success.
Updated 9-Aug-20 3:18am

1 solution

Share this answer
glbtech 9-Aug-20 9:30am    
Hi..thanks, but it doesn't answer my question. My question is more specific.
Richard MacCutchan 9-Aug-20 9:35am    
You asked how to create a python setup file. What more specific question do you have?
glbtech 9-Aug-20 9:38am    
I asked how to create setup file using NSIS not the way you offered me. I already created normal setup file, but I want to recreate it so when it will be installed it will create a shortcut on desktop - via NSIS.
Richard MacCutchan 9-Aug-20 9:39am    
OK see NSIS Modern User Interface - Documentation[^].

But you could have found this information quite easily by doing a Google search.
glbtech 9-Aug-20 9:43am    
This is not a solution, sorry. I know how to use google as well as you. I need help from someone that did it and can guide me to combine the commands before generate the setup file.. I look into that doc already.. I didn't understand the documentation, I tried.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900