Quantcast
Channel: How to run a file before setup with Inno Setup - Stack Overflow
Viewing all articles
Browse latest Browse all 3

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

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

detail image


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>