I used a solution I’ve found on StackOverFlow and it works fine.Īt Files section insert the vc_redist’s path that you’ve just downloaded: iss file, so it can install those DLLs too. Python 2.6, 2.7 or 3.x – Microsoft Visual C++ 2008 Redistributable Package.Python 2.4 or Python 2.5 – Microsoft Visual C++ 2005 Redistributable Package.So download it according to your python version: But, hold on! We still need to add the MSVCR’s DLLs. Now, go ahead with the standard procedure to windows programs (next, next, next…). In this case, boneca.exe and python27.dll at the root level and the boneca-1.0.1.win32 folder with its content.ĭon’t forget to add boneca.exe as Application main executable file. On the next screen, you’ll add the programs, folders, and files that will be installed. ![]() You can type a path or use a Directory Constant. So, at first, you better use another folder. ![]() It will not recognize the authenticity of your code and you can struggle with antivirus, Windows security and it can stop your program from doing the auto-updates. The default is Program Files, but if your code is not signed (using a Code Signing tool) you may have problems with Windows UAC. In the next screen, you can choose the folder to install your App. Unzip this file.īack to Inno Setup click File > New. You can write your own script or use the Script Wizard.įirst, we’ll use the wizard and the file boneca-1.0.1.win32.zip that we have generated on the previous post (Part II). Inno Setup generates a script file (.iss) for you to make your own installer. No problem, let’s solve this with Inno Setupġst thing, download and install Inno Setup. It happens because Esky modifies your program creating an executable that verifies your program updates on FTP if it has some update available, esky downloads it, checks if everything is ok and remove the old files. OK, but now we can’t use the cx_freeze to make an installer anymore. After that, we have updated our program to include an Auto-Update service. In the first part, we’ve learned how to create an MSI with cx_freeze and use the MSVCR from your own OS with the include_msvcr parameter.
0 Comments
Leave a Reply. |