Checking for updates on Program Start

Got a problem you cannot solve? Try here.
Nhamzei
Posts: 8
Joined: Wed Oct 26, 2016 4:51 pm

Checking for updates on Program Start

Postby Nhamzei » Wed Feb 20, 2019 5:25 pm

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?

Nhamzei
Posts: 8
Joined: Wed Oct 26, 2016 4:51 pm

Re: Checking for updates on Program Start

Postby Nhamzei » Fri Feb 22, 2019 4:53 pm

anyone?

Nhamzei
Posts: 8
Joined: Wed Oct 26, 2016 4:51 pm

Re: Checking for updates on Program Start

Postby Nhamzei » Fri Feb 22, 2019 5:41 pm

ok, so here is the block of code in updates.mia

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?

Nhamzei
Posts: 8
Joined: Wed Oct 26, 2016 4:51 pm

Re: Checking for updates on Program Start

Postby Nhamzei » Mon Feb 25, 2019 3:28 pm

bueller, bueller??

glenharvy
Posts: 167
Joined: Fri Sep 14, 2007 3:53 am

Re: Checking for updates on Program Start

Postby glenharvy » Thu Feb 28, 2019 7:04 am

There's no labels.

Check you labels/ if ends etc.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 42 guests