I am creating an installer that is wrapping an abc.exe with it. This installer is running the exe as a tray icon. But when I restart my system this exe will stop and won't be seen in tray icon anymore. I want this exe to be started again on windows restart. How can this be achieved? I have tried below commands but not helpful:
CreateShortCut "$SMPROGRAMS${abc}.lnk" "$INSTDIR\\abc.exe"
CreateDirectory "$SMPROGRAMS\\abc"
CreateShortCut "$SMPROGRAMS\\abc\\abc.lnk" "$INSTDIR\\abc.exe"
CreateShortCut "$DESKTOP\\abc.lnk" "$INSTDIR\\abc.exe"
CreateShortCut "$SMPROGRAMS\\abc\\Uninstall abc.lnk" "$INSTDIR\\uninstall.exe"
Any help is appreciated!!!Thanks in advance
Windows 不知道应用程序总是应该运行,您需要在正确的位置注册它。
CreateShortcut "$SMSTARTUP\MyApp.lnk" "$INSTDIR\abc.exe"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.