Newbie here - I am trying to create a shortcut that opens a command window in the application folder.
My approach was to create an On Post Install action as so:
Shell.CreateShortcut(SessionVar.Expand("%AppShortc utFolderName%"), "Command Window", _WindowsFolder.."\\system32\\cmd.exe", "", SessionVar.Expand("%AppFolder%"), "", 0, SW_SHOWNORMAL, nil, "", START_OPTION_DEFAULT);
Setup log is attached - getting a 2300 error - could not create the folder for the shortcut. Which to me is odd since the log shows the folder being created successfully
and shortcuts are added to the folder and show up under Start.
Any help is appreciated.
My approach was to create an On Post Install action as so:
Shell.CreateShortcut(SessionVar.Expand("%AppShortc utFolderName%"), "Command Window", _WindowsFolder.."\\system32\\cmd.exe", "", SessionVar.Expand("%AppFolder%"), "", 0, SW_SHOWNORMAL, nil, "", START_OPTION_DEFAULT);
Setup log is attached - getting a 2300 error - could not create the folder for the shortcut. Which to me is odd since the log shows the folder being created successfully
Create folder: C:\Users\tlillys\AppData\Roaming\Microsoft\Windows \Start Menu\Programs\MINTEQA2\
and shortcuts are added to the folder and show up under Start.
Any help is appreciated.
Comment