зеркало из https://github.com/mozilla/pjs.git
Updating from MRE to MFCEmbed
(Not yet part of the build)
This commit is contained in:
Родитель
4726c2ae97
Коммит
837cf4fa16
|
@ -7,7 +7,7 @@
|
||||||
; values.
|
; values.
|
||||||
Run Mode=Normal
|
Run Mode=Normal
|
||||||
|
|
||||||
Shared Install=TRUE
|
Shared Install=FALSE
|
||||||
Default AppID=$ProductName$User
|
Default AppID=$ProductName$User
|
||||||
|
|
||||||
Company Name=$CompanyName$
|
Company Name=$CompanyName$
|
||||||
|
@ -20,7 +20,7 @@ User Agent=$UserAgent$
|
||||||
; WINDISK
|
; WINDISK
|
||||||
; WINDIR
|
; WINDIR
|
||||||
; WINSYSDIR
|
; WINSYSDIR
|
||||||
Path=[PROGRAMFILESDIR]\$CompanyName$\$ProductName$\$XPInstallVersion$
|
Path=[PROGRAMFILESDIR]\$CompanyName$\$ProductName$
|
||||||
|
|
||||||
; Sub Path, when set will indicate to Setup to create a subfolder from
|
; Sub Path, when set will indicate to Setup to create a subfolder from
|
||||||
; what is offered to the user to change. It will not be shown to the user
|
; what is offered to the user to change. It will not be shown to the user
|
||||||
|
@ -167,14 +167,14 @@ Readme App=notepad.exe
|
||||||
; set (Setup Type0, Setup Type1, Setup Type2, Setup Type3).
|
; set (Setup Type0, Setup Type1, Setup Type2, Setup Type3).
|
||||||
[Setup Type0]
|
[Setup Type0]
|
||||||
;*** LOCALIZE ME BABY ***
|
;*** LOCALIZE ME BABY ***
|
||||||
Description Short=&MRE
|
Description Short=&MFCEmbed
|
||||||
;*** LOCALIZE ME BABY ***
|
;*** LOCALIZE ME BABY ***
|
||||||
Description Long=Install the Mozilla Runtime Environment.
|
Description Long=Install MFCEmbed.
|
||||||
|
|
||||||
; List of components to install/enable for this Setup Type.
|
; List of components to install/enable for this Setup Type.
|
||||||
; All other components not listed here will be disabled if
|
; All other components not listed here will be disabled if
|
||||||
; this Setup Type is selected.
|
; this Setup Type is selected.
|
||||||
C0=Component MRE
|
C0=Component MFCEmbed
|
||||||
C1=Component Uninstaller
|
C1=Component Uninstaller
|
||||||
|
|
||||||
[Dialog Select Components]
|
[Dialog Select Components]
|
||||||
|
@ -182,7 +182,7 @@ Show Dialog=TRUE
|
||||||
;*** LOCALIZE ME BABY ***
|
;*** LOCALIZE ME BABY ***
|
||||||
Title=$ProductName$ Setup - Select Components
|
Title=$ProductName$ Setup - Select Components
|
||||||
;*** LOCALIZE ME BABY ***
|
;*** LOCALIZE ME BABY ***
|
||||||
Message0=MRE is always installed. Select or clear the additional components you want to install.
|
Message0=MFCEmbed is always installed. Select or clear the additional components you want to install.
|
||||||
|
|
||||||
[Dialog Select Additional Components]
|
[Dialog Select Additional Components]
|
||||||
Show Dialog=FALSE
|
Show Dialog=FALSE
|
||||||
|
@ -201,20 +201,11 @@ Message1=These settings allow you to set default Internet preferences for browsi
|
||||||
|
|
||||||
; Only a maximum of 4 "Windows Integration-Item"s are allowded. Each Item
|
; Only a maximum of 4 "Windows Integration-Item"s are allowded. Each Item
|
||||||
; shows up as a checkbox in the Windows Integration dialog.
|
; shows up as a checkbox in the Windows Integration dialog.
|
||||||
[Windows Integration-Item0]
|
;[Windows Integration-Item0]
|
||||||
CheckBoxState=FALSE
|
;CheckBoxState=FALSE
|
||||||
Description=Make Mozilla my default Internet browser
|
;Description=Make Mozilla my default Internet browser
|
||||||
Archive=
|
;Archive=
|
||||||
|
|
||||||
[Windows Integration-Item1]
|
|
||||||
CheckBoxState=FALSE
|
|
||||||
Description=Make Mozilla Netcenter my home page
|
|
||||||
Archive=
|
|
||||||
|
|
||||||
[Windows Integration-Item2]
|
|
||||||
CheckBoxState=FALSE
|
|
||||||
Description=Use Mozilla Netcenter to search the Web
|
|
||||||
Archive=
|
|
||||||
;*** DO NOT LOCALIZE - END ***
|
;*** DO NOT LOCALIZE - END ***
|
||||||
|
|
||||||
[Dialog Program Folder]
|
[Dialog Program Folder]
|
||||||
|
@ -442,14 +433,14 @@ Close All Process Windows=TRUE
|
||||||
Attributes=SELECTED|INVISIBLE|FORCE_UPGRADE
|
Attributes=SELECTED|INVISIBLE|FORCE_UPGRADE
|
||||||
Force Upgrade File0=[SETUP PATH]\xpcom.dll
|
Force Upgrade File0=[SETUP PATH]\xpcom.dll
|
||||||
|
|
||||||
[Component MRE]
|
[Component MFCEmbed]
|
||||||
Description Short=Mozilla Runtime Environment
|
Description Short=MFCEmbed
|
||||||
;*** LOCALIZE ME BABY ***
|
;*** LOCALIZE ME BABY ***
|
||||||
Description Long=for use by MRE based applications
|
Description Long=MFCEmbed
|
||||||
Archive=mre.xpi
|
Archive=mfcembed.xpi
|
||||||
$InstallSize$:mre
|
$InstallSize$:mfcembed
|
||||||
$InstallSizeSystem$
|
$InstallSizeSystem$
|
||||||
$InstallSizeArchive$:mre.xpi
|
$InstallSizeArchive$:mfcembed.xpi
|
||||||
Attributes=SELECTED
|
Attributes=SELECTED
|
||||||
|
|
||||||
[Component Uninstaller]
|
[Component Uninstaller]
|
||||||
|
@ -550,7 +541,7 @@ Destination=[SETUP PATH]\Uninstall
|
||||||
Root Key=HKEY_LOCAL_MACHINE
|
Root Key=HKEY_LOCAL_MACHINE
|
||||||
Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$)
|
Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$)
|
||||||
Name=DisplayName
|
Name=DisplayName
|
||||||
Name Value=Mozilla Runtime Environment ($UserAgentShort$)
|
Name Value=MFCEmbed ($UserAgentShort$)
|
||||||
Type=REG_SZ
|
Type=REG_SZ
|
||||||
Decrypt Key=FALSE
|
Decrypt Key=FALSE
|
||||||
Decrypt Name=FALSE
|
Decrypt Name=FALSE
|
||||||
|
|
|
@ -85,11 +85,11 @@ if($inRedirIniURL eq "")
|
||||||
}
|
}
|
||||||
|
|
||||||
$seiFileNameGeneric = "nsinstall.exe";
|
$seiFileNameGeneric = "nsinstall.exe";
|
||||||
$seiFileNameSpecific = "mre-win32-installer.exe";
|
$seiFileNameSpecific = "mfcembed-win32-installer.exe";
|
||||||
$seiStubRootName = "mre-win32-stub-installer";
|
$seiStubRootName = "mfcembed-win32-stub-installer";
|
||||||
$seiFileNameSpecificStub = "$seiStubRootName.exe";
|
$seiFileNameSpecificStub = "$seiStubRootName.exe";
|
||||||
$seuFileNameSpecific = "MREUninstall.exe";
|
$seuFileNameSpecific = "MFCEmbedUninstall.exe";
|
||||||
$seuzFileNameSpecific = "mreuninstall.zip";
|
$seuzFileNameSpecific = "mfcembeduninstall.zip";
|
||||||
|
|
||||||
# set environment vars for use by other .pl scripts called from this script.
|
# set environment vars for use by other .pl scripts called from this script.
|
||||||
if($versionParts[2] eq "0")
|
if($versionParts[2] eq "0")
|
||||||
|
@ -102,8 +102,8 @@ else
|
||||||
}
|
}
|
||||||
print "The display version is: $versionMain\n";
|
print "The display version is: $versionMain\n";
|
||||||
$ENV{WIZ_nameCompany} = "Mozilla";
|
$ENV{WIZ_nameCompany} = "Mozilla";
|
||||||
$ENV{WIZ_nameProduct} = "MRE";
|
$ENV{WIZ_nameProduct} = "MFCEmbed";
|
||||||
$ENV{WIZ_nameProductNoVersion} = "MRE";
|
$ENV{WIZ_nameProductNoVersion} = "MFCEmbed";
|
||||||
$ENV{WIZ_fileMainExe} = "none.exe";
|
$ENV{WIZ_fileMainExe} = "none.exe";
|
||||||
$ENV{WIZ_fileUninstall} = $seuFileNameSpecific;
|
$ENV{WIZ_fileUninstall} = $seuFileNameSpecific;
|
||||||
$ENV{WIZ_fileUninstallZip} = $seuzFileNameSpecific;
|
$ENV{WIZ_fileUninstallZip} = $seuzFileNameSpecific;
|
||||||
|
@ -123,7 +123,7 @@ if(!(-d "$inStagePath"))
|
||||||
}
|
}
|
||||||
|
|
||||||
# List of components for to create xpi files from
|
# List of components for to create xpi files from
|
||||||
@gComponentList = ("mre");
|
@gComponentList = ("mfcembed");
|
||||||
|
|
||||||
if(VerifyComponents()) # return value of 0 means no errors encountered
|
if(VerifyComponents()) # return value of 0 means no errors encountered
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче