AppDeploy.com

 


Java package 6.18 reinstalling itself...

Click here to associate this thread with a Package KB article.
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [AppDeploy Forums] >> Package Development >> Java package 6.18 reinstalling itself... Page: [1]
Login
Message << Older Topic   Newer Topic >>
Java package 6.18 reinstalling itself... - 3/10/2010 6:44:12 PM   
AdiR

 

Posts: 3
Score: 0
Joined: 2/24/2010
Status: offline
Hi,

With the help of this site and a couple of day's I was able to get a Java package built using Orca and also include all of the usual transforms in the package needed for deployment.
I deployed the package via AD GPO into a test environment of about 40 which went super smooth...

The problem I'm currently experiencing is this:
On random workstations after being restarted the package would start installing itself again and completely breaking Java, Basically to the point where all the files under the Program Files\Java\jre6\bin\client and Program Files\Java\jre6\bin\new_plugin have been completely deleted out.

I've searched the subject up and down on the boards but I'm coming up empty handed, I'm now wondering if I need to include some sort of a Launch Condition in Orca to look Java V6 U18 before it initiates an installation.

At this point any input would be great, I know the package works good but I can't let GPO handle it.

Thank you,
Adi
Post #: 1
RE: Java package 6.18 reinstalling itself... - 3/11/2010 1:48:27 AM   
shweta_kar

 

Posts: 91
Score: 0
Joined: 3/26/2008
From: Pune, India
Status: offline
what does the eventvwr says when it tries installing again.

(in reply to AdiR)
Post #: 2
RE: Java package 6.18 reinstalling itself... - 3/11/2010 10:35:17 AM   
VBScab


Posts: 6623
Score: 190
Joined: 9/5/2006
From: London, UK
Status: offline
This sounds very much to me like you haven't disabled auto-update, which has kicked in and half-worked.

I think your best option is to build a new package, ensuring that auto-update is disabled (how to do that is documented here on AD), set the GPO's scope such that the package is uninstalled, then deploy the new package under a different GPO.


_____________________________

- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. PMs and personal emails will be ignored.

(in reply to AdiR)
Post #: 3
RE: Java package 6.18 reinstalling itself... - 3/11/2010 5:12:43 PM   
AdiR

 

Posts: 3
Score: 0
Joined: 2/24/2010
Status: offline
Here is what I've got for transforms go:

I have read that adding the following to Orca would disable the update for sure:
CustomAction Table-
Action: DisableAutoUpdate
Type: 98
Source: SystemFolder
Target: reg add "HKLM\Software\JavaSoft\Java Update\Policy" /v EnableJavaUpdate /t REG_DWORD /d 0 /f

InstallExecuteSequence-
Action: DisableAutoUpdate
Condition: NOT Installed
Sequence: 3187

Other switches are:

AUTOUPDATECHECK = 0
IEXPLORER = 1
JAVAUPDATE = 0
JU = 0
MOZILLA = 1
SYSTRAY = 0

I have varified that all of these settings are the same in the registry after the package has been installed.
Update services are not running and the Update Tab is gone, only thing that is there is the Java Quick Starter..

(in reply to VBScab)
Post #: 4
RE: Java package 6.18 reinstalling itself... - 3/12/2010 4:59:31 AM   
VBScab


Posts: 6623
Score: 190
Joined: 9/5/2006
From: London, UK
Status: offline
Are you sure, though, that AutoUpdate isn't running? As per a previous post, you need to trace the component which is being repaired by referring to the ID identified in the Event log.

And why are you using a script to add a registry value? Use the Registry table. Much cleaner and more reliable. That is, after all, why it's there! :)



_____________________________

- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. PMs and personal emails will be ignored.

(in reply to AdiR)
Post #: 5
RE: Java package 6.18 reinstalling itself... - 3/12/2010 1:05:10 PM   
AdiR

 

Posts: 3
Score: 0
Joined: 2/24/2010
Status: offline
The reason I'm using a script is only because, I've been reading on the board here that by modifying the "Properties" table in Orca doesn't turn off the AutoUpdate feature...
Are you saying that I should be modifying the Registry table itself? If so I don't see where I can change the values under the Registry table to modify the necessary switches, unless you're deleting keys completely.

Is there a process besides jusched.exe that I'm missing??
Here are some pictures of my registry key's and transforms.

http://img684.imageshack.us/img684/2032/orcatrans.jpg
http://img27.imageshack.us/img27/9717/reg2w.jpg
http://img697.imageshack.us/img697/5908/reg1pe.jpg
http://img20.imageshack.us/img20/3791/msiinstall.jpg

< Message edited by AdiR -- 3/12/2010 1:09:41 PM >

(in reply to VBScab)
Post #: 6
RE: Java package 6.18 reinstalling itself... - 3/14/2010 10:51:51 PM   
thugz888

 

Posts: 18
Score: 0
Joined: 11/21/2008
Status: offline
Hi Adir

try checking on the custom action because some of the custom acton is only triggered in installation. whene it is trying to install itself again it is triggering a repair sequence.. some custom action have condition "Not Installed" meaning they only trigger during installation try changing it to "NOT REMOVE". hope this helps.

(in reply to AdiR)
Post #: 7
RE: Java package 6.18 reinstalling itself... - 3/15/2010 5:47:23 AM   
VBScab


Posts: 6623
Score: 190
Joined: 9/5/2006
From: London, UK
Status: offline
quote:

I don't see where I can change the values under the Registry table...
The registry setting details are all in the 'Package KB' and in various AD posts. Translating those into Registry table entries (don't forget you'll need companion entries in the 'Component' table, too) should be simple enough. See MSDN for details on the Registry table.

_____________________________

- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. PMs and personal emails will be ignored.

(in reply to AdiR)
Post #: 8
Page:   [1]
All Forums >> [AppDeploy Forums] >> Package Development >> Java package 6.18 reinstalling itself... Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.047