View forum topic
List of forum topicsSubject: Check setuppath
Hi,
we're just creating a special update installation, and I need to check if the setuppath includes a certain file. So I first ask for the setup path, and then I do a file exists check.
This actually works but when the error message is shown, I'm only able to Retry (won't never work, as path is still wrong) or to Abort completly.
Is there a way to go back to setup path dialog only?
Florian
In this case, you should use a custom dialog function for Dialog - Setup Path.
See DNextfunc here: http://www.createinstall.com/help/dialog-func.html
You can send your .ci project file to info@createinstall.com if something doesn't work.
You can insert Source Code command with the checked 'External source code' and the code like this
func uint nextpathcmdproc( uint wnd )
{
if !fileexist(macrox_do("#setuppath#\\station.exe"))
{
msg_warning( "There is not station.exe in this folder.", "#lcaption#" )
return 0
}
return 1
}
January 16, 2025 Installer CreateInstall 8.11.1 was released.
June 19, 2024 Installer CreateInstall 8.11.0 was released. read more
November 13, 2022 Installer CreateInstall 8.10.1 was released.
May 21, 2022 Installer CreateInstall 8.10.0 was released.
September 25, 2021 Installer CreateInstall 8.9.0 was released.
July 15, 2021 Installer CreateInstall 8.8.1 was released.