I'm a little upset... I posted a help question for Setup Factory yesterday.. here.. http://www.indigorose.com/forums/showthread.php?t=19092
and for some reason it was moved to the AMS thread.... I'm using Setup Factory not AMS...
Professional Software Development Tools
I'm a little upset... I posted a help question for Setup Factory yesterday.. here.. http://www.indigorose.com/forums/showthread.php?t=19092
and for some reason it was moved to the AMS thread.... I'm using Setup Factory not AMS...
Did you receieve a notice saying it was moved? I've posted to the wrong forum, it's easy to do when you're already frustrated.
Now on to your issue...
If I understand it; you want the default script modified to not allow the user to continue unless a specific file exists, correct?
Try this:
Code:if(g_IsValidPath(strInstallFolderPath)) then if File.DoesExist( strInstallFolderPath .. "\\file.exe") then if(_SpaceAvailable >= _SpaceRequired) then Screen.Next(); else if g_ConfirmFreeSpaceOverride() then Screen.Next(); end end else Dialog.Message("A file does not exist", "Folder selection error", MB_OK, MB_ICONSTOP); end else local strTitle = SetupData.GetLocalizedString("MSG_INVALID_ENTRY"); local strPrompt; if(g_ContainsValidPathChars(strInstallFolderPath)) then strPrompt = SetupData.GetLocalizedString("ERR_INVALID_PATH"); else strPrompt = SetupData.GetLocalizedString("ERR_INVALID_CHARACTERS") .. "\r\n/ * ? \" < > |"; end Dialog.Message(strTitle, strPrompt, MB_OK, MB_ICONEXCLAMATION); end
(Click here to contact me)
Providing Independent Professional Consulting Services for
IndigoRose products, World Wide.
Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)