

- Inno script studio runs setup how to#
- Inno script studio runs setup install#
- Inno script studio runs setup update#
Inno script studio runs setup install#
You have a setup.exe as the Output and this is able to install our boneca.exe and the necessary DLLs to run it on every goddamn Windows. VCVersionInstalled(VC_2010_SP1_REDIST_X86)) Īnd now compile your file. Result := not (VCVersionInstalled(VC_2010_REDIST_X86) and this statement, the following won't install your VC redist only when or False when you don't need to, so now it's upon you how you build here the Result must be True when you need to install your VCRedist Result := MsiQueryProductState(ProductID) = INSTALLSTATE_DEFAULT Source: "vcredist_x86.exe" DestDir: ' įunction MsiQueryProductState(szProduct: string): INSTALLSTATE įunction VCVersionInstalled(const ProductID: string): Boolean 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.
Inno script studio runs setup update#
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.
Inno script studio runs setup how to#
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.
