I have updated to newest version of InstallAware and some of the functionality we used seems to be a little off. Im sure it just a configuration issue.
I have created my install project and the install works fine. I have added into "Run Programs " 2 new entries.
1) $UNINSTALLLINK$ /update
2) $TARGETDIR$/my.exe
The install goes fine. If I click the icon, it checks for updates but when no update is found, It does not run the application.
Have I missed an entry somewhere else?
Checking for updates on Program Start
Re: Checking for updates on Program Start
ok, so here is the block of code in updates.mia
so the Run Program $TARGETDIR$\DAP.exe is not executing. I am message boxing the location and the file is there and runs when double clicked, so what could be going on?
Comment: Check update availability
Get INI $SUPPORTDIR$\updates.ini, [Update Packs for Versions] $VERSION$ Value into Variable UPDATE_AVAILABLE
if Variable UPDATE_AVAILABLE Equals
[compiler if Variable UPDATE_SCHEDULING Equals TRUE]
[compiler else]
[compiler if Variable UPDATE_SCHEDULING not Equals THIRD]
MessageBox: No Update, first now update
MessageBox: $TITLE$ Update, No updates are available for $TITLE$ at this time.$NEWLINE$$NEWLINE$Please check back again later.
[compiler else]
if Variable MAINTENANCE Equals TRUE
MessageBox: $TITLE$ Update, No updates are available for $TITLE$ at this time.$NEWLINE$$NEWLINE$Please check back again later.
MessageBox: about to run, target is line below$NEWLINE$$TARGETDIR$\DAP.exe
Run Program $TARGETDIR$\DAP.exe
MessageBox: After run, run program has happened
Terminate Installation
end
GoTo Label: End of Updates
[compiler end]
[compiler end]
MessageBox: About to Run, about to run dap and exit
Run Program $TARGETDIR$\DAP.exe
Terminate Installation
end
so the Run Program $TARGETDIR$\DAP.exe is not executing. I am message boxing the location and the file is there and runs when double clicked, so what could be going on?
Re: Checking for updates on Program Start
bueller, bueller??
Re: Checking for updates on Program Start
There's no labels.
Check you labels/ if ends etc.
Check you labels/ if ends etc.
Who is online
Users browsing this forum: No registered users and 94 guests