I'm trying to check an URL like http://mysite.com/program1.6.exe
If URL exist, the program is up to date.
But if not, the installation have to close and launch the URL.
I don't want a special download way...
An IE download will be enough for me.
Now, how can I realise that ? :$
I'm already checking if the program is installed or not with :
But how can I do the same with an simple URL ?Function .onInit
ClearErrors
readregstr $1 ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName"
IfErrors done
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Already installed, uninstall ?" IDNO +2
ExecShell Open "$INSTDIR\uninst.exe"
SetAutoClose true
Abort
done:
FunctionEnd
Thanks !
ThiWeb
