To [Files] część mojego kodu do tej pory:Inno Setup: Zainstaluj inny instalator i uruchomić go przed kontynuowaniem mój zainstalować
[Files]
Source: "other_installer.exe"; DestDir: "{app}"
Source: "myprogram.exe"; DestDir: "{app}"
Source: "data.dat"; DestDir: "{app}"
Source: "otherdata.dat"; DestDir: "{app}"
Mój program jest zależny od innego programu do uruchomienia. Doinstalowałem instalator dla tego programu ("other_installer.exe") w moim instalatorze. Chciałbym uruchomić ten instalator zaraz po skopiowaniu, zanim przejdę do "myprogram.exe", a resztę.
Mam googleed i znalazłem dokumentację dla BeforeInstall w pomocy Inno Setup, ale nie mają one przykładu uruchomienia innej aplikacji. Wierzę, że powinno to być coś takiego:
[Files]
Source: "other_installer.exe"; DestDir: "{app}"
Source: "myprogram.exe"; DestDir: "{app}"; BeforeInstall: // RUN OTHER_INSTALLER.EXE //
Source: "data.dat"; DestDir: "{app}"
Source: "otherdata.dat"; DestDir: "{app}"
Czy będzie możliwe zapisanie błędu i przerwanie (i potencjalnie wycofanie) instalacji później? – Septagram