As is, the autoruns wanted Admin rights, so I included "RequestExecutionLevel User" for the autorun and "RequestExecutionLevel Admin" for the setup. The relevant code for the autorun is as follows:
I believe the issue is that the user-access autorun is not liking to be told to run an admin-access setup. What do I need to do to get this to work properly? I've seen a mention of "UAC::ShellExecWait", but have not been able to track down specifics if this is a plugin or how to use it.Call CheckInstallStatus ; We are paranoid... The user may have (un)installed it behind our backs...
StrCmp $InsStat "1" +1 +5 ; Check Installation Status
SetOutPath "$INSTDIR"
Exec "$INSTDIR\${PROGEXE}" ; Run installed program
SetOutPath "$EXEDIR"
Goto +5
FindWindow $R0 "#32770" "" $HWNDPARENT
GetDlgItem $R0 $R0 1201 # 1201 is field 2
SendMessage $R0 ${WM_SETTEXT} 0 "STR:Please wait while the program installs..."
ExecWait "$EXEDIR\setup.exe" ; Run installer
Call InstallRunButton ; Run script that controls button messages.
Abort ; Return to the page
Thanks for the help here. Great community. 🙂