Archive: Windows Vista Issue


Windows Vista Issue
Hi


On the finish page of the installer we have a check box that the user can select to launch the application. The function that is called is:


Function LaunchZangViaShortCut

SetEnv::SetEnvVar "ZBZ_HOME" "$INSTDIR"
SetEnv::SetEnvVar "FFMPEG_HOME" "$INSTDIR\client\ffmpeg"
ReadEnvStr $R0 "PATH"
StrCpy $R1 "$R0;${PHONE_SERVICE_DLLs}"
StrCpy $R2 "$R1;${APP_DLLS}"
SetEnv::SetEnvVar "PATH" $R2
ExecShell "open" "$SMPROGRAMS\${APP_NAME}\${APP_NAME}.lnk"

FunctionEnd


Does anybody know why this launches the application for XP but not Vista?

Cheers

Paul

Can you not just target the executable file with Exec not the link file?

Stu


Thanks i'll give that a try.