views:

1141

answers:

2

I have the following autorun.inf

[Autorun]
action="Blah, Inc."
open=marketing.exe
icon=blah.ico
label="Blah, Inc."

On Vista, the autorun dialog shows "Publisher not specified". How do I specify a publisher?

+1  A: 

You specify the publisher by signing your executable file, not by writing it in the autorun.inf file.

How to do it...beats me, I'm a Java developer. Maybe someone else can tell you how.

Bogdan
+1  A: 

Bogdan is right: You need to sign your executable. You can use SignTool from Microsoft for this. Taken from the MSDN:

SignTool tool is a command-line tool that digitally signs files, verifies signatures in files, or time stamps files. (...) The tool is installed in the \Bin folder of the Microsoft Windows Software Development Kit (SDK) installation path. SignTool is available as part of the Windows SDK, which you can download as part of the Windows SDK for Windows Server 2008 and .NET Framework 3.5.

Treb