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
This commit is contained in:
ssu%netscape.com
1999-09-14 23:09:10 +00:00
parent 8341109203
commit 38d4c6f9aa
2 changed files with 22 additions and 14 deletions

View File

@@ -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

View File

@@ -84,6 +84,14 @@ while($line = <fpInIt>)
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="