When creating a script I get in the [Files] section: Source: ..project1.exe; DestDir: {app}; Flags: restartreplace ignoreversion;
instead of the actual path.
InnoSetup does not find the file in this way.
In the Run Log the complete path is given.
What do I do wrong?
Inno Setup will find it that way if the script was located in a sub folder of the project. If you want the actual path go to the parameters screen (Settings->Parameters) then deselect the button Use Relative Paths.
What is the folder tree look like for your project?
Thanks for your suggestion not using relative paths, that seems to work.
The script is located in the project folder:
c:Documents and SettingsJanMijn DocumentenVisualBasicGamesParticlesParticles01.pjt
Should I change this to be able to use relative paths?
If your script was in c:\Documents and Settings\Jan\Mijn Documenten\VisualBasic\Games\Scripts\ you could use relative paths. In that way if you copied your project folder \Games to another location your script would still compile. If you were using exact paths it would not compile for it would be looking for files in the project in the wrong location.
Thanks again, it works OK with relative paths when the script is in the subdirectory