Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

PGP Desktop 8.0.3

- - - - -

  • Please log in to reply
7 replies to this topic

#1
daz23

daz23
  • Member
  • 6 posts
Anybody ever try to silently install PGP Desktop 8 or higher. The executable is install shield, but it won't accept any switches.


How to remove advertisement from MSFN

#2
studguy1

studguy1

    Junior

  • Member
  • Pip
  • 80 posts
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.

#3
studguy1

studguy1

    Junior

  • Member
  • Pip
  • 80 posts
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")


#4
Nologic

Nologic

    Advanced Member

  • Member
  • PipPipPip
  • 461 posts
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. :)

#5
daz23

daz23
  • Member
  • 6 posts
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")


#6
studguy1

studguy1

    Junior

  • Member
  • Pip
  • 80 posts
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.

#7
maxximum

maxximum

    Newbie

  • Member
  • 28 posts
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

#8
Snorkasaurus

Snorkasaurus
  • Member
  • 1 posts
  • OS:XP Pro x86
  • Country: Country Flag

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN