From 38d4c6f9aa615f3488896bb99fb07fcd7cf81d8f Mon Sep 17 00:00:00 2001 From: "ssu%netscape.com" Date: Tue, 14 Sep 1999 23:09:10 +0000 Subject: [PATCH] fixed pathing issues and oji size calculation problems. Does not affect seamonkey build. git-svn-id: svn://10.0.0.236/trunk@47432 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpinstall/packager/windows/config.it | 28 +++++++++---------- .../xpinstall/packager/windows/makecfgini.pl | 8 ++++++ 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/mozilla/xpinstall/packager/windows/config.it b/mozilla/xpinstall/packager/windows/config.it index c6a5d8eaee6..f61c5c0f0f6 100644 --- a/mozilla/xpinstall/packager/windows/config.it +++ b/mozilla/xpinstall/packager/windows/config.it @@ -304,11 +304,11 @@ Message=Preparing SmartUpdate, please wait... ;Destination=[SETUP PATH]\program ;Copy FileX sections -[Copy File0] -Timing=post launchapp -Source=[WINDISK]\Progra~1\JavaSoft\JRE\1.2.2\bin\npjava*.dll -Destination=[SETUP PATH]\components -Fail If Exists=FALSE +;[Copy File0] +;Timing=post launchapp +;Source=[WINDISK]\Progra~1\JavaSoft\JRE\1.2.2\bin\npjava*.dll +;Destination=[SETUP PATH]\components +;Fail If Exists=FALSE ;[Copy File1] ;Timing=post launchapp @@ -346,9 +346,9 @@ Fail If Exists=FALSE [RunApp0] Timing=post launchapp Wait=FALSE -Target=[SETUP PATH]\bin\apprunner.exe +Target=[SETUP PATH]\apprunner.exe Parameters=-installer -WorkingDir=[SETUP PATH]\bin +WorkingDir=[SETUP PATH] ; Values for Show Folder: ; HIDE Hides the window and activates another window. @@ -380,13 +380,13 @@ Timing=post download Show Folder=SHOW Program Folder=[Default Folder] -;[Program Folder0-Shortcut0] -;File=[SETUP PATH]\bin\apprunner.exe -;Arguments= -;Working Dir=[SETUP PATH] -;Description=Netscape AppRunner -;Icon Path=[SETUP PATH]\bin\apprunner.exe -;Icon Id=0 +[Program Folder0-Shortcut0] +File=[SETUP PATH]\apprunner.exe +Arguments= +Working Dir=[SETUP PATH] +Description=Netscape AppRunner +Icon Path=[SETUP PATH]\apprunner.exe +Icon Id=0 ;[Program Folder0-Shortcut1] ;File=[SETUP PATH]\bin\viewer.exe diff --git a/mozilla/xpinstall/packager/windows/makecfgini.pl b/mozilla/xpinstall/packager/windows/makecfgini.pl index 5591b350740..62b3bab3933 100644 --- a/mozilla/xpinstall/packager/windows/makecfgini.pl +++ b/mozilla/xpinstall/packager/windows/makecfgini.pl @@ -84,6 +84,14 @@ while($line = ) chop($componentName); $installSize = OutputInstallSize("$inStagePath\\$componentName"); + + # special oji consideration here. Since it's an installer that + # seamonkey installer will be calling, the disk space allocation + # needs to be adjusted by an expansion factor of 3.62. + if($componentName =~ /oji/i) + { + $installSize = int($installSize * 3.62); + } } # Read the next line to calculate for the "Install Size System="