Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Thu, 14 Aug 2008 09:11:01 -0700,    group: microsoft.public.platformsdk.msi        back       


UAC dlg bx and msi file name   
I am using Windows XP with a VS 2003 Setup project to create MySetup.msi that 
is digitally signed (authenticode) during compilation of MySetup.msi (checked 
authenticode in Properties dlg box for the Setup project and provide paths to 
the *.pvk, *.spc files, and the time stamp URL).

I mentioned digitally signed because I don't remeber the following problem 
occurring before I started digitally signing the msi file.

When I run MySetup.msi on a Vista Business OS, I get a UAC dialog box that 
ask if I want to run c46a8.msi.  Publisher and version information in the UAC 
dialog box are correct.  

Why would c46a8.msi be displayed rather than MySetup.msi?  Is there a way to 
fix this?

Thanks for any comments or information.
-- 
Gary Larimer
date: Thu, 14 Aug 2008 09:11:01 -0700   author:   Gary Larimer

Re: UAC dlg bx and msi file name   
Is there any chance you're running it from off a remote server?  When I was playing with UAC and 
signing I ran my signed exe from off a server, and the path the dialog reported was obviously a 
local copy that Windows had made in my temp folder.

Rob

Gary Larimer wrote:
> I am using Windows XP with a VS 2003 Setup project to create MySetup.msi that 
> is digitally signed (authenticode) during compilation of MySetup.msi (checked 
> authenticode in Properties dlg box for the Setup project and provide paths to 
> the *.pvk, *.spc files, and the time stamp URL).
> 
> I mentioned digitally signed because I don't remeber the following problem 
> occurring before I started digitally signing the msi file.
> 
> When I run MySetup.msi on a Vista Business OS, I get a UAC dialog box that 
> ask if I want to run c46a8.msi.  Publisher and version information in the UAC 
> dialog box are correct.  
> 
> Why would c46a8.msi be displayed rather than MySetup.msi?  Is there a way to 
> fix this?
> 
> Thanks for any comments or information.
date: Fri, 15 Aug 2008 10:21:15 +0100   author:   Rob Hamflett

Re: UAC dlg bx and msi file name   
Thanks Rob.  I was running the *.msi file from a CD-ROM on a local machine.  
I am going to try signing the *.msi file after it has been created by the VS 
Setup project.  I will have more control over the signcode.exe parameters.  
Not sure if that is the problem, but worth a try.  If signcode.exe does not 
work, might try signtool.exe.
-- 
Gary Larimer


"Rob Hamflett" wrote:

> Is there any chance you're running it from off a remote server?  When I was playing with UAC and 
> signing I ran my signed exe from off a server, and the path the dialog reported was obviously a 
> local copy that Windows had made in my temp folder.
> 
> Rob
> 
> Gary Larimer wrote:
> > I am using Windows XP with a VS 2003 Setup project to create MySetup.msi that 
> > is digitally signed (authenticode) during compilation of MySetup.msi (checked 
> > authenticode in Properties dlg box for the Setup project and provide paths to 
> > the *.pvk, *.spc files, and the time stamp URL).
> > 
> > I mentioned digitally signed because I don't remeber the following problem 
> > occurring before I started digitally signing the msi file.
> > 
> > When I run MySetup.msi on a Vista Business OS, I get a UAC dialog box that 
> > ask if I want to run c46a8.msi.  Publisher and version information in the UAC 
> > dialog box are correct.  
> > 
> > Why would c46a8.msi be displayed rather than MySetup.msi?  Is there a way to 
> > fix this?
> > 
> > Thanks for any comments or information.
>
date: Fri, 15 Aug 2008 06:16:02 -0700   author:   Gary Larimer

RE: UAC dlg bx and msi file name   
Found problem -- needed to add a friendly name to the digital signature.  If 
no friendly name then Windows appears to use auto generated character for the 
file name, hence c46a8.msi instead of MySetup.msi.  

Instead of digitally signing the msi file in the VS Setup project, I used 
the signcode.exe wizard to digitally sign AFTER MySetup.msi was created.  
This allowed inputing the friendly name.

Double clicking signcode.exe causes the signcode.exe wizard to appear. 
-- 
Gary Larimer


"Gary Larimer" wrote:

> I am using Windows XP with a VS 2003 Setup project to create MySetup.msi that 
> is digitally signed (authenticode) during compilation of MySetup.msi (checked 
> authenticode in Properties dlg box for the Setup project and provide paths to 
> the *.pvk, *.spc files, and the time stamp URL).
> 
> I mentioned digitally signed because I don't remeber the following problem 
> occurring before I started digitally signing the msi file.
> 
> When I run MySetup.msi on a Vista Business OS, I get a UAC dialog box that 
> ask if I want to run c46a8.msi.  Publisher and version information in the UAC 
> dialog box are correct.  
> 
> Why would c46a8.msi be displayed rather than MySetup.msi?  Is there a way to 
> fix this?
> 
> Thanks for any comments or information.
> -- 
> Gary Larimer
date: Fri, 15 Aug 2008 10:09:17 -0700   author:   Gary Larimer

Re: UAC dlg bx and msi file name   
"Gary Larimer"  wrote in message 
news:53593F9F-E4A9-4E16-90A5-AABEEB0ED3C8@microsoft.com...
> Thanks Rob.  I was running the *.msi file from a CD-ROM on a local
> machine.   I am going to try signing the *.msi file after it has been
> created by the VS  Setup project.  I will have more control over the
> signcode.exe parameters.   Not sure if that is the problem, but worth a
> try.  If signcode.exe does not  work, might try signtool.exe.

This text is controlled by the description field during the signing of your 
MSI file.  It has nothing to do with location of MSI or even the name of the 
file itself (although you can make the description the name of the file if 
you want).

If you are using signtool.exe then signing parameter options related to UAC 
are:
/d <desc.>  Provide a description of the signed content
/du <URL>   Provide a URL with more information about the signed content.

The <desc> is used in the prompt that users see.

Sincerely,
Adrian Accinelli
date: Fri, 15 Aug 2008 13:14:02 -0400   author:   Adrian Accinelli am

Re: UAC dlg bx and msi file name   
Thanks Adrian.  You were right.  Found problem, and corrected with 
signcode.exe wizard.  See my next post.
-- 
Gary Larimer


"Adrian Accinelli" wrote:

> "Gary Larimer"  wrote in message 
> news:53593F9F-E4A9-4E16-90A5-AABEEB0ED3C8@microsoft.com...
> > Thanks Rob.  I was running the *.msi file from a CD-ROM on a local
> > machine.   I am going to try signing the *.msi file after it has been
> > created by the VS  Setup project.  I will have more control over the
> > signcode.exe parameters.   Not sure if that is the problem, but worth a
> > try.  If signcode.exe does not  work, might try signtool.exe.
> 
> This text is controlled by the description field during the signing of your 
> MSI file.  It has nothing to do with location of MSI or even the name of the 
> file itself (although you can make the description the name of the file if 
> you want).
> 
> If you are using signtool.exe then signing parameter options related to UAC 
> are:
> /d <desc.>  Provide a description of the signed content
> /du <URL>   Provide a URL with more information about the signed content.
> 
> The <desc> is used in the prompt that users see.
> 
> Sincerely,
> Adrian Accinelli
> 
> 
>
date: Fri, 15 Aug 2008 11:02:04 -0700   author:   Gary Larimer

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us