bitman Posted March 23, 2006 Share Posted March 23, 2006 hey I want to know how I can hide this proces Run("rundll32.exe cryptext.dll,CryptExtAddPFX cert.p12") @SW_HIDE does not work gives me following error Unable to execute the external program.: Run("rundll32.exe cryptext.dll,CryptExtAddPFX cert.p12",@SW_HIDE) Link to comment Share on other sites More sharing options...
MadBoy Posted March 23, 2006 Share Posted March 23, 2006 Try: $YourCommand = "rundll32.exe cryptext.dll,CryptExtAddPFX cert.p12" RunWait(@ComSpec & " /c " & $YourCommand, "", @SW_HIDE) My little company: Evotec (PL version: Evotec) Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 23, 2006 Share Posted March 23, 2006 (edited) Hi, maybe this helps . Run("rundll32.exe cryptext.dll,CryptExtAddPFX cert.p12", "", @SW_HIDE) So long, Mega Edited March 23, 2006 by th.meger Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
bitman Posted March 24, 2006 Author Share Posted March 24, 2006 Try:$YourCommand = "rundll32.exe cryptext.dll,CryptExtAddPFX cert.p12"RunWait(@ComSpec & " /c " & $YourCommand, "", @SW_HIDE)it seems like it is working for the first window but the next window is not hidden. How can I hide each of the windows in the installation. can I simply use RunWait("",@SW_HIDE)? Link to comment Share on other sites More sharing options...
j'tje Posted October 4, 2006 Share Posted October 4, 2006 This works fine for me: $strCertificate = "c:\certificates\cert.p12" Run("c:\windows\system32\rundll32.exe cryptext.dll,CryptExtAddPFX " & $strCertificaat, "", @SW_HIDE) You originally forgot the second parameter, the empty one (""). Link to comment Share on other sites More sharing options...
Fredrik Posted October 4, 2006 Share Posted October 4, 2006 Is there a way to tell the commanline to install the .p12 certificate under as a private computercertificate (MMC)? I also need to send a unique password to each certificate. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now