Skip to content

Commit

Permalink
Merge pull request #262 from espressif/remove/component_registry
Browse files Browse the repository at this point in the history
remove: Removed component registry
  • Loading branch information
jakub-kocka authored Aug 28, 2024
2 parents ce3f3dc + b823cbe commit 31b4dcb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Build-Installer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ if (('offline' -eq $InstallerType) -or ('espressif-ide' -eq $InstallerType)){
"${OfflineBranch}" > $Versions
PrepareOfflineBranches
PrepareIdfPythonWheels
PrepareIdfComponents
#PrepareIdfComponents
} elseif ('online' -eq $InstallerType) {
DownloadIdfVersions
$IsccParameters += '/DJDKVERSION=' + $JdkVersion
Expand Down
8 changes: 4 additions & 4 deletions src/InnoSetup/IdfToolsSetup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ Source: "..\Python\system_check\system_check_download.py"; Flags: dontcopy
Source: "..\Python\system_check\system_check_subprocess.py"; Flags: dontcopy
Source: "..\Python\system_check\system_check_virtualenv.py"; Flags: dontcopy

Source: "{#BUILD}\registry\*"; DestDir: "\\?\{app}\registry\"; Components: "{#COMPONENT_REGISTRY}"; Flags: recursesubdirs createallsubdirs skipifsourcedoesntexist;
;Source: "{#BUILD}\registry\*"; DestDir: "\\?\{app}\registry\"; Components: "{#COMPONENT_REGISTRY}"; Flags: recursesubdirs createallsubdirs skipifsourcedoesntexist;

[Types]
Name: "full"; Description: {cm:InstallationFull}
Expand All @@ -253,7 +253,7 @@ Name: "custom"; Description: {cm:InstallationCustom}; Flags: iscustom
[Components]
Name: "{#COMPONENT_FRAMEWORK}"; Description: "Frameworks"; Types: full minimal custom;

Name: "{#COMPONENT_REGISTRY}"; Description: "IDF components"; Types: full custom;
;Name: "{#COMPONENT_REGISTRY}"; Description: "IDF components"; Types: full custom;

#ifdef FRAMEWORK_ESP_IDF
Name: "{#COMPONENT_FRAMEWORK_ESP_IDF}"; Description: "ESP-IDF {#FRAMEWORK_ESP_IDF}"; Types: full custom; Flags: checkablealone
Expand Down Expand Up @@ -387,8 +387,8 @@ Filename: "{app}\idf-env.exe"; \
[Registry]
Root: HKCU; Subkey: "Environment"; ValueType: string; ValueName: "IDF_TOOLS_PATH"; \
ValueData: "{app}"; Flags: preservestringtype createvalueifdoesntexist uninsdeletevalue deletevalue;
Root: HKCU; Subkey: "Environment"; ValueType: string; ValueName: "IDF_COMPONENT_STORAGE_URL"; \
ValueData: "file:///{code:GetPathWithForwardSlashes|{app}}/registry;default"; Flags: preservestringtype createvalueifdoesntexist uninsdeletevalue deletevalue;
;Root: HKCU; Subkey: "Environment"; ValueType: string; ValueName: "IDF_COMPONENT_STORAGE_URL"; \
;ValueData: "file:///{code:GetPathWithForwardSlashes|{app}}/registry;default"; Flags: preservestringtype createvalueifdoesntexist uninsdeletevalue deletevalue;
Root: HKCU; Subkey: "Environment"; \
ValueType: expandsz; ValueName: "Path"; ValueData: "{olddata};C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\Hostx64\x64"; \
Check: NeedsAddPathToVCTools('C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\Hostx64\x64')
Expand Down
2 changes: 1 addition & 1 deletion src/InnoSetup/PostInstall.iss
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ begin
new value to be visible to this process. }
SetEnvironmentVariable('IDF_TOOLS_PATH', ExpandConstant('{app}'));
SetEnvironmentVariable('IDF_COMPONENT_STORAGE_URL', GetPathWithForwardSlashes(ExpandConstant('file:///{app}/registry;default')));
;SetEnvironmentVariable('IDF_COMPONENT_STORAGE_URL', GetPathWithForwardSlashes(ExpandConstant('file:///{app}/registry;default')));
ExtractTemporaryFile('7za.exe');
Expand Down

0 comments on commit 31b4dcb

Please sign in to comment.