daz23 Posted October 18, 2004 Share Posted October 18, 2004 Anybody ever try to silently install PGP Desktop 8 or higher. The executable is install shield, but it won't accept any switches. Link to comment Share on other sites More sharing options...
studguy1 Posted November 11, 2004 Share Posted November 11, 2004 I have tried and looked around. You can do a silent install on the PGP Corporate Desktop (which is the "deployable" version). The only way out here is an AutoIt Script unless someone else has a better idea. Link to comment Share on other sites More sharing options...
studguy1 Posted November 11, 2004 Share Posted November 11, 2004 Here is a simple autoit Script (v3) which works for me (no fancy stuff)Dim $title = "PGP 8.1"Run("setup.exe")WinWait($title)ControlClick($title, "", "Button1")WinWait($title,"License Agreement", 5)ControlClick($title, "License Agreement", "Button2")WinWait($title,"Read Me", 5)ControlClick($title, "Read Me", "Button2")WinWait($title,"User Type", 5)ControlClick($title, "User Type", "Button2")ControlClick($title, "User Type", "Button11")WinWait($title,"Install Directory", 5)ControlClick($title, "Install Directory", "Button1")WinWait($title,"Select Components", 5)ControlClick($title, "Select Components", "Button2")WinWait($title,"Start Copying Files", 5)ControlClick($title, "Start Copying Files", "Button1")WinWait($title,"install complete", 30)ControlClick($title, "install complete", "Button1")ControlClick($title, "install complete", "Button4") Link to comment Share on other sites More sharing options...
Nologic Posted November 11, 2004 Share Posted November 11, 2004 Well I see a AutoIt script but I don't see it in file form and attached to the AutoIt thread. So if you would toss a copy of it into that thread so its easier for some one to find later. Link to comment Share on other sites More sharing options...
daz23 Posted November 12, 2004 Author Share Posted November 12, 2004 Thanks for your autoit script. I created my own, but it never worked correctly when it ran from an unattended disk. This was my attempt with autoit, but gave up in frustration. ; ----------------------------------------------------------------------------; Script Start; ----------------------------------------------------------------------------;;Check to make sure PGP dir exists, if not create it;If FileExists(@UserProfileDir & "\My Documents\PGP\") Then;;Do nothing PGP dir exists;Else; DirCreate (@UserProfileDir & "\My Documents\PGP\");EndIf;;Copy the PGP keys to the users PGP Directory and remove Read only attribute;FileCopy("pubring.pkr", @UserProfileDir & "\My Documents\PGP\", 1);FileCopy("secring.skr", @UserProfileDir & "\My Documents\PGP\", 1);FileSetAttrib(@UserProfileDir & "\My Documents\PGP\pubring.pkr", "-R+N");FileSetAttrib(@UserProfileDir & "\My Documents\PGP\secring.skr", "-R+N");Run("PGPDesktop.exe");;;Welcome;;WinWaitActive ('PGP 8.0.3', "Welcome");Sleep(500);ControlClick ('PGP 8.0.3', "&Next >", "Button1");;;License Agreement;WinWaitActive ('PGP 8.0.3', "License Agreement");Sleep(500);ControlClick ('PGP 8.0.3', "&Yes", "Button2");;;Read Me;WinWaitActive ('PGP 8.0.3',"Read Me");Sleep(500);ControlClick ('PGP 8.0.3', "&Next >", "Button2");;;User Type;Checks to see if there are existing Keyrings ;WinWaitActive ('PGP 8.0.3', "Do you already have PGP keyrings you would like to use?");Sleep(500);;If FileExists(@UserProfileDir & "\My Documents\PGP\pubring.pkr") AND FileExists(@UserProfileDir & "\My Documents\PGP\secring.skr") Then; ControlClick ('PGP 8.0.3', "Yes, I already have keyrings.", "Button1");Else; ControlClick ('PGP 8.0.3', "No, I'm a New User", "Button2");EndIf;;ControlClick ('PGP 8.0.3', "&Next >", "Button11");;;Install Directory;WinWaitActive ('PGP 8.0.3', "Setup will install PGP 8.0.3 in the following folder.");Sleep(500);ControlClick ('PGP 8.0.3', "&Next >", "Button1");;;Select Components (I unselect PGP for OE);WinWaitActive ('PGP 8.0.3', "Description");Sleep(500);Send("{DOWN}");Send("{DOWN}");Send("{DOWN}");Send("{SPACE}");;ControlClick ('PGP 8.0.3', "&Next >", "Button2");;;Start Copying Files;WinWaitActive ('PGP 8.0.3', "Today's date:");Sleep(500);ControlClick ('PGP 8.0.3', "&Next >", "Button1");;;Choose location of your existing PGP key rings. Select the default location listed;WinWaitActive ('PGP 8.0.3', "Choose location of your existing PGP key rings.");Sleep(500);Send("{ENTER}");;;PGP 8.0.3 install complete. Unselect the Restart checkbox.;WinWaitActive ('PGP 8.0.3', "PGP 8.0.3 install complete.");Sleep(5000);ControlFocus ("PGP 8.0.3", "&Yes, I want to restart my computer now.", "Button1") ;ControlClick ("PGP 8.0.3", "&Yes, I want to restart my computer now.", "Button1") ;ControlClick ('PGP 8.0.3', "Finish", "Button4") Link to comment Share on other sites More sharing options...
studguy1 Posted November 13, 2004 Share Posted November 13, 2004 Nologic: i have added the script to the autoit thread, thx for the prodding OW i am ultra lazy. daz3: you have made your script very complicated. try starting from a basic script that works and then you can add stuff to it. I didnt try to mess with the check boxes (for outlook, eudora etc.) and go with the default settings. ALso you can add the keyrings etc. later once your basic setup works. The script i have posted is designed for a clean install. If there is a older version installed it will fail.But i have to admit PGP is the most evil of all the software i have. It is the only one with which all attempts to make a silent install have failed . I have tried installshield monitor, system snapshots etc etc. pretty much everything. Link to comment Share on other sites More sharing options...
maxximum Posted December 17, 2004 Share Posted December 17, 2004 I'm using PGP Desktop 6.5.8ckt build8, and these steps worked for me :1/ run pgp658.exe 2/ it decompresses itself in user's profile temp dir3/ copy files from user's profile temp dir, to another directory (new install dir), and stop current install4/ go to the new directory, and run : setup.exe -r5/ reply normaly to answers6/ when install is done, go to c:\windows, and copy the file "setup.iss" to your install dir7/ silent install is now : setup.exe -s Link to comment Share on other sites More sharing options...
Snorkasaurus Posted November 24, 2012 Share Posted November 24, 2012 I'm using PGP Desktop 6.5.8ckt build8, and these steps worked for me :...7/ silent install is now : setup.exe -sI know this is a serious 8 year necro, but I just HAD to sign up for an account so I could tip my hat at maxximum for this post.THANKS!S. 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