Security prompt when using "Run program"
Posted: Mon Jan 14, 2013 2:00 am
Hello,
I am a new customer since a couple of weeks so I am learning by doing at the moment. I am using IA much like a deployment tool, launching both my own as well as 3rd party installers and utilities.
Version: 15 Build 11.20.12
From within a IA setup I am trying to execute another IA setup which resides on a file server:
Run Program \\myserver.xx.yyy\folder1\Unattend\FlowCad\for_Orcad16.6\FlowCad.exe /s (WAIT)
When I do this I get a prompt halting everything:
The publisher could no be verified. Are you sure you want to run this software? Run/Cancel
The file server is in the intranet zone. Run components not signed with Authenticode=enabled, Launching applications and unsafe files=enabled.
There is no warning like the above if I use start->run with the same command line on the same machine.
If I add a .bat-file to my project which executes the above command line and:
Run Program $SUPPORTFILES$\test.bat (WAIT)
I get no warning halting the setup.
Why do I get this warning when launching a setup via UNC-path directly from within IA but not otherwise?
Working with a .bat file for each command/setup I need to run is a temporary workaround but it complicates the setup and makes it much harder to maintain and "read".
EDIT:
Just found and tested "Run program as" (very quickly) with no other options except the executable and parameter "/s". This seem to work! (why?)
Also, as a side note: "Run Program" and "Run Program As" are both displayed as just "Run program" in the editor.
Will do some more testing but an explanation of my results would be interesting, what differs between Run program/Run Program As when supplied options are just the executable and its arguments?
I am a new customer since a couple of weeks so I am learning by doing at the moment. I am using IA much like a deployment tool, launching both my own as well as 3rd party installers and utilities.
Version: 15 Build 11.20.12
From within a IA setup I am trying to execute another IA setup which resides on a file server:
Run Program \\myserver.xx.yyy\folder1\Unattend\FlowCad\for_Orcad16.6\FlowCad.exe /s (WAIT)
When I do this I get a prompt halting everything:
The publisher could no be verified. Are you sure you want to run this software? Run/Cancel
The file server is in the intranet zone. Run components not signed with Authenticode=enabled, Launching applications and unsafe files=enabled.
There is no warning like the above if I use start->run with the same command line on the same machine.
If I add a .bat-file to my project which executes the above command line and:
Run Program $SUPPORTFILES$\test.bat (WAIT)
I get no warning halting the setup.
Why do I get this warning when launching a setup via UNC-path directly from within IA but not otherwise?
Working with a .bat file for each command/setup I need to run is a temporary workaround but it complicates the setup and makes it much harder to maintain and "read".
EDIT:
Just found and tested "Run program as" (very quickly) with no other options except the executable and parameter "/s". This seem to work! (why?)
Also, as a side note: "Run Program" and "Run Program As" are both displayed as just "Run program" in the editor.
Will do some more testing but an explanation of my results would be interesting, what differs between Run program/Run Program As when supplied options are just the executable and its arguments?