Difference between revisions of "Talk:Adobe Reader"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Reverted edit of 66.45.252.82, changed back to last version by WPKGSysop)
(question about multiple Adobe Reader pages)
Line 1: Line 1:
 +
=Multiple Pages for this Program=
 +
Why do we have pages for Adobe Reader, Adobe Reader 8 and Adobe Reader 9. I think for ease-of-use we should have them all on the one page with the different versions each in a section of their own
 +
 +
=Adobe Reader 7=
 
Allan Stone writes:
 
Allan Stone writes:
  

Revision as of 13:54, 16 July 2009

Multiple Pages for this Program

Why do we have pages for Adobe Reader, Adobe Reader 8 and Adobe Reader 9. I think for ease-of-use we should have them all on the one page with the different versions each in a section of their own

Adobe Reader 7

Allan Stone writes:

On the website you have Adobe Reader 7.0.5 package file but it errors out sometimes when you remove it. I have made a WSH script to take care of the removal for us. It passes everytime. Ive yet to have to fail.

I called the file 'remove.js' and added it as the remove command for the package


//WScript.Echo("Uninstaller for Adobe Reader 7.0.X");
//WScript.Echo("----------------------------------");
//WScript.Echo("");

var adobe_7_reader_0 = 1;
var adobe_error = 1;

var objShell = WScript.CreateObject("WScript.Shell");
//WScript.Echo("...Checking registry for Adobe Reader 7.0.X")

try
{
  var key1 = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Adobe\\Acrobat Reader\\7.0\\InstallPath\\";
  test = objShell.RegRead(key1);
//  WScript.Echo("...Acrobat Reader 7.0.X found");
}
catch(e)
{
//  WScript.Echo("...Adobe Reader 7.0.X NOT found");
  adobe_7_reader_0 = 0;
}

if (adobe_7_reader_0 == 1)
{
  try
  {
//    WScript.Echo("...Uninstalling Adobe Reader 7.0.X");
    objShell.Run("MsiExec.exe /qb /x{AC76BA86-7AD7-1033-7B44-A70500000002} REBOOT=ReallySupress",1,true)
  }
  catch(e)
  {
//   WScript.Echo("...Error uninstalling Adobe Reader 7.0.X\n");
//   WScript.Echo(e.description+"\n")
//   WScript.Echo(e.message+"\n")
//   WScript.Echo(e.number+"\n")
  }
}

//WScript.Echo("\nComplete.");

I hope this helps. there is probably a better way and more simple but it works and that does it for me.