I got an app that needs more than 4000 cab files signed before I can use the MSI. Anybody know of a tool to do this with wildcards? Otherwise I think I am going to have to write a VBScript that uses sendkeys.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
4000 cab files??? Uff Da!

I assume this is a vendor msi, right? Normally I wouldn't suggest altering a vendor's msi, but this case might be extreme enough to warrant recompiling it into a single MSI file with no cabs.
Answered 10/26/2005 by: VikingLoki
Second Degree Brown Belt

Please log in to comment
0
I tried to make an administrative installation with no luck. I made an AutoIT script to provide the password for every cab file so eventually everything will be signed.
Answered 10/27/2005 by: kkaminsk
Ninth Degree Black Belt

Please log in to comment
0
Here is the by the seat of your pants code I used. Sloppy but does the job...

You will need signcode.exe from IEAK 6 and AutoIT.

Here is the AutoIT code I wrote I am sure a better job could be done but again it's the quick and dirty. Let this code run in the background:

For $i = 1 to 4447 Step 1
sleep (100)
WinWaitActive("Enter Private Key Password")
Send("signmyapplication232{ENTER}")
Next

Then run this DOS command:

for /f "delims=*" %a in ('dir c:\aes2004cd1\*.cab /s /b') do c:\cert\signcode -v c:\cert\privatekey.pvk -spc c:\cert\putblickey.spc "%a"

And off you go!
Answered 10/28/2005 by: kkaminsk
Ninth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity