Wise adds "" to a shortcut
I´ve got an irretating problem..
This application is installed on a server. You need to run this application with Adminrights.
I have made a shortcut to this app that looks something like this %windir%\system32\runas.exe /Admin \\servername\servershare\program.exe
This shortcut works fine if i distribute it from a bat or cmd file. The company were I work wants everything as MSI. In wWise the shortcut looks OK
without the " " but when I distribute it as an MSI it looks like "%windir%\system32\runas.exe /Admin \\servername\servershare\program.exe".
This application is installed on a server. You need to run this application with Adminrights.
I have made a shortcut to this app that looks something like this %windir%\system32\runas.exe /Admin \\servername\servershare\program.exe
This shortcut works fine if i distribute it from a bat or cmd file. The company were I work wants everything as MSI. In wWise the shortcut looks OK
without the " " but when I distribute it as an MSI it looks like "%windir%\system32\runas.exe /Admin \\servername\servershare\program.exe".
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
anonymous_9363
15 years ago
- Are there any spaces in whatever names are resolved from 'servername', 'servershare' or 'program.exe'?
- Have you tried altering the command line to explicitly include quotes:
%windir%\system32\runas.exe "\\servername\servershare\program.exe"
- I'm not familiar with the '/Admin' switch for RunAs. Neither, it would appear, is Microsoft http://technet.microsoft.com/en-us/library/bb490994.aspx
- Have you tried altering the command line to explicitly include quotes:
%windir%\system32\runas.exe "\\servername\servershare\program.exe"
- I'm not familiar with the '/Admin' switch for RunAs. Neither, it would appear, is Microsoft http://technet.microsoft.com/en-us/library/bb490994.aspx
Posted by:
Nixlas
15 years ago
Posted by:
AngelD
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.