Quantcast
Channel: How to run a file before setup with Inno Setup - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by user18677603 for How to run a file before setup with Inno Setup

[Code]function PrepareToInstall(var NeedsRestart: Boolean): String;var ResultCode: integer;begin ExtractTemporaryFile('卸载.bat'); if Exec(ExpandConstant('{tmp}\卸载.bat'), '', '', SW_SHOW,...

View Article


Answer by Jan Derk for How to run a file before setup with Inno Setup

Yes it is. In the [code] section run the file in the InitializeSetup() function. This example launches notepad before the setup runs.function InitializeSetup(): boolean;var ResultCode: integer;begin //...

View Article

How to run a file before setup with Inno Setup

Is it possible to run a file with Inno Setup, before the setup beginns?Documentation

View Article
Browsing latest articles
Browse All 3 View Live