|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Add Publisher Name to Published VS2005 ProjectI use Visual Studio 2005 to publish software to clients. The end
result I need is to simply put our business' name in the dialog box when someone installs our software. I have googled this to no end and have not found a solution that works. I have tried to use makecert.exe and then pvk2pfx.exe to make a .pfx file to use to sign our app, but, one of the .dll's is not strong named and cannot be renamed. I have tried to use SN.exe -Vr ***, but, that doesnt work, b/c the .dll doesn't pass the strong name check. I have also tried tlbimp.exe, but, it is not a COM Interop Assembly. If anyone has any ideas on how to get our name on that dialog box with a weakly-named assembly, I would truly appreciate it. Thanks, Andrew The publisher name comes from the certificate with which you sign the ClickOnce
manifest - you need a proper cert (either via makecert or a CA) with an intended purpose of "Code Signing". Then select this cert in the VS signing dialog (from store/from file button). This has NOTHING to do with strong names. dominick Show quoteHide quote > I use Visual Studio 2005 to publish software to clients. The end > result I need is to simply put our business' name in the dialog box > when someone installs our software. > > I have googled this to no end and have not found a solution that > works. > I have tried to use makecert.exe and then pvk2pfx.exe to make a .pfx > file to use to sign our app, but, one of the .dll's is not strong > named > and cannot be renamed. I have tried to use SN.exe -Vr ***, but, that > doesnt work, b/c the .dll doesn't pass the strong name check. I have > also tried tlbimp.exe, but, it is not a COM Interop Assembly. > > If anyone has any ideas on how to get our name on that dialog box with > a weakly-named assembly, I would truly appreciate it. > > Thanks, > > Andrew > Dominick Baier wrote:
> The publisher name comes from the certificate with which you sign the ClickOnce I have created the certificate, imported it into the trusted Root,> manifest - you need a proper cert (either via makecert or a CA) with an intended > purpose of "Code Signing". Then select this cert in the VS signing dialog > (from store/from file button). This has NOTHING to do with strong names. > > dominick > selected the cert from the store/from file button, and then re-published. This gives the same result - 'Unknown Publisher' from the client's perspective. One step of yours that I am missing is assigning the intended purpose of "Code Signing" - how is that done with makecert.exe? Thanks, Andrew If you are able to select it in VS, then it seems to be fine.
In the case of (test) makecert certificate you also have to install the certificate int the client's trusted root CA folder (in the certificate store). dominick Show quoteHide quote > Dominick Baier wrote: > >> The publisher name comes from the certificate with which you sign the >> ClickOnce >> manifest - you need a proper cert (either via makecert or a CA) with >> an intended >> purpose of "Code Signing". Then select this cert in the VS signing >> dialog >> (from store/from file button). This has NOTHING to do with strong >> names. >> dominick >> > I have created the certificate, imported it into the trusted Root, > selected the cert from the store/from file button, and then > re-published. This gives the same result - 'Unknown Publisher' from > the client's perspective. One step of yours that I am missing is > assigning the intended purpose of "Code Signing" - how is that done > with makecert.exe? > > Thanks, > > Andrew >
Problems accessing the ASPNETDB.MDF file
Have a NTAccount, need FileSystem permissions Machine hops - Basic Authentication single sign on from web to smart client Access Private Key File From X509 Certificate How to programmingly check off "Allow inheritable permissions from Assigning Strong Name to COM dlls Can SslStream be set to ignore invalid certificates? authentication against adsi/ldap Hangs indefinitely at first call to object of IWbemServices (In case of dll) WIN 2000 |
|||||||||||||||||||||||