cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bluestar8783
Level 5

How to fix "unidentified program wants access .." in InstallScript on Vista?

Dear Sirs:

I got a InstallScript Project to pack one
Driver installer on Vista and XP.

I need to have Administrator privileges to run installer whether
end-users have or not, because I call dll to use SetupOEMInf() to Copy
inf file to WINDIR\inf folder.

I try to check "The Prerequisite requires administrative privileges" on
the Behavior tab in the Setup Prerequisite Editor and select "Continue the
setup" (not Ask whether to continue the setup). I also select "Cerified for
Windows(R) Vista Validation Suite" and "Cerified for Windows(R) Vista
Merge Module Validation Suite" on the Validation tab in the Options.

After building, i run the DriverInstaller.exe to Vista with UAC, it
shows "An unidentified proram want access to your computer :
unidentified publisher DriverInstaller.exe" .

How to fix this question???
If need to transfer to InstallScript MSI Project, how to do? I hope
it will not change more to transfer and cost less time.

I am a rookie for Installshield 2008, please tell me step by step.

Your help is highly appreciate. Thank you.
Labels (1)
0 Kudos
(6) Replies
Stefan_Krueger
Level 9

UAC displays the "unidentified" dialog if your setup isn't digitally signed. With a digital signature UAC would display your company name.
Stefan Krueger
InstallSite.org
0 Kudos
bluestar8783
Level 5

Stefan Krueger wrote:
UAC displays the "unidentified" dialog if your setup isn't digitally signed. With a digital signature UAC would display your company name.


Dear Sir:

My driver has cat file with a digital signature and I already pack it
into this InstallScript Project. But I also pack one dll and one exe created
by me to call. Did both files need to have digital signature??

I run this DriverInstaller.exe file created by IS2008 and it shows
"An unidentified proram want access to your computer : unidentified publisher
DriverInstaller.exe", so i don't know how to eliminate this condition.

By the way, if i right-click "Run as Administrator", this exe file will
succeed to install driver.

How to embeded "Administrator privileges" into my InstallScript project
and not UAC prompt dialog shows?


Thank you for your Information.
0 Kudos
Stefan_Krueger
Level 9

DriverInstaller.exe needs to be signed to change the appearance of the UAC prompt.

There's no way to by-pass UAC and auto-elevate. This would defeat the purpose and open a security hole.
Stefan Krueger
InstallSite.org
0 Kudos
bluestar8783
Level 5

Stefan Krueger wrote:
DriverInstaller.exe needs to be signed to change the appearance of the UAC prompt.

There's no way to by-pass UAC and auto-elevate. This would defeat the purpose and open a security hole.


Dear Sir:

Whether i transform to other type project, like MSI porject,
it also can't get this goal, right?

if DriverInstall.exe is signed, it will shows "A program need you permission to continue" with UAC on, right?

Thanks for your great information. Thanks.
0 Kudos
Stefan_Krueger
Level 9

if DriverInstall.exe is signed, it will shows "A program need you permission to continue" with UAC on, right?

Yes, and there's no other way to get they UAC dialog with the grey banner other than digitally signing the executable. Of course, you need a certificate from a trusted authority, a self-cert won't work.
Stefan Krueger
InstallSite.org
0 Kudos
bluestar8783
Level 5

Stefan Krueger wrote:
Yes, and there's no other way to get they UAC dialog with the grey banner other than digitally signing the executable. Of course, you need a certificate from a trusted authority, a self-cert won't work.


Dear Sir:

Could you tell me where to signed my DriverInstall.exe?
Is MS ok?
0 Kudos