mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
This commit is contained in:
parent
57a66f7638
commit
dab6df8722
2 changed files with 4 additions and 5 deletions
|
|
@ -7,13 +7,11 @@
|
||||||
#if BuildConfiguration == "Devkit"
|
#if BuildConfiguration == "Devkit"
|
||||||
; devkit releases are not compressed
|
; devkit releases are not compressed
|
||||||
#pragma warning "Building Devkit release"
|
#pragma warning "Building Devkit release"
|
||||||
#elif BuildConfiguration == "Userkit"
|
#else
|
||||||
; userkit releases get compressed, and get languages included
|
; userkit releases get compressed, and get languages included
|
||||||
#pragma message "Building Userkit release"
|
#pragma message "Building Userkit release"
|
||||||
#define Compress true
|
#define Compress true
|
||||||
#define IncludeUILanguages true
|
#define IncludeUILanguages true
|
||||||
#else
|
|
||||||
# error Unsupported configuration
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
; Cosmos Registry key
|
; Cosmos Registry key
|
||||||
|
|
@ -31,17 +29,18 @@ AppSupportURL=http://www.goCosmos.org/
|
||||||
AppUpdatesURL=http://www.goCosmos.org/
|
AppUpdatesURL=http://www.goCosmos.org/
|
||||||
AppVersion={#ChangeSetVersion}
|
AppVersion={#ChangeSetVersion}
|
||||||
DefaultDirName={userappdata}\Cosmos User Kit
|
DefaultDirName={userappdata}\Cosmos User Kit
|
||||||
|
;DefaultDirName=m:\Cosmos User Kit -- Only about 2-3 seconds faster. The GAC and other things seem to be the majority of the slowness
|
||||||
DefaultGroupName=Cosmos User Kit
|
DefaultGroupName=Cosmos User Kit
|
||||||
OutputDir=.\Setup2\Output
|
OutputDir=.\Setup2\Output
|
||||||
OutputBaseFilename=CosmosUserKit
|
OutputBaseFilename=CosmosUserKit
|
||||||
#ifdef Compress
|
#ifdef Compress
|
||||||
Compression=lzma2/ultra64
|
Compression=lzma2/ultra64
|
||||||
InternalCompressLevel=ultra64
|
InternalCompressLevel=ultra64
|
||||||
|
SolidCompression=true
|
||||||
#else
|
#else
|
||||||
Compression=none
|
Compression=none
|
||||||
InternalCompressLevel=none
|
InternalCompressLevel=none
|
||||||
#endif
|
#endif
|
||||||
SolidCompression=true
|
|
||||||
SourceDir=..
|
SourceDir=..
|
||||||
;Left Image should be 164x314
|
;Left Image should be 164x314
|
||||||
WizardImageFile=.\setup2\images\cosmos.bmp
|
WizardImageFile=.\setup2\images\cosmos.bmp
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ begin
|
||||||
Exec(ExpandConstant('{code:VSNET2010_PATH|}\devenv.exe'), '/setup', '', SW_HIDE, ewWaitUntilTerminated, xResultCode);
|
Exec(ExpandConstant('{code:VSNET2010_PATH|}\devenv.exe'), '/setup', '', SW_HIDE, ewWaitUntilTerminated, xResultCode);
|
||||||
if xResultCode <> 0 then
|
if xResultCode <> 0 then
|
||||||
begin
|
begin
|
||||||
RaiseException('An error occurred while unregistering with Visual Studio!');
|
RaiseException('An error occurred while unregistering Cosmos from Visual Studio!');
|
||||||
end;
|
end;
|
||||||
finally
|
finally
|
||||||
EnableFsRedirection(false);
|
EnableFsRedirection(false);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue