Jump to content

PGP Desktop 8.0.3


daz23

Recommended Posts

  • 4 weeks later...

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

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

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

  • 1 month later...

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 dir

3/ copy files from user's profile temp dir, to another directory (new install dir), and stop current install

4/ go to the new directory, and run : setup.exe -r

5/ reply normaly to answers

6/ when install is done, go to c:\windows, and copy the file "setup.iss" to your install dir

7/ silent install is now : setup.exe -s

Link to comment
Share on other sites

  • 7 years later...

I'm using PGP Desktop 6.5.8ckt build8, and these steps worked for me :

...

7/ silent install is now : setup.exe -s

I 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...