mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-12 19:21:40 +00:00
User kit, unfinished
This commit is contained in:
parent
512715b78d
commit
758e423247
3 changed files with 8145 additions and 6 deletions
|
|
@ -1,5 +1,6 @@
|
|||
; Script generated by the Inno Setup Script Wizard.
|
||||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||
; Cosmos Registry key
|
||||
; Install assemblies
|
||||
; Delete old user kit installer and task asm
|
||||
|
||||
[Setup]
|
||||
AppName=Cosmos User Kit
|
||||
|
|
@ -10,14 +11,28 @@ AppSupportURL=http://www.gocosmos.org/
|
|||
AppUpdatesURL=http://www.gocosmos.org/
|
||||
DefaultDirName={pf}\Cosmos User Kit
|
||||
DefaultGroupName=Cosmos User Kit
|
||||
OutputBaseFilename=setup
|
||||
Compression=lzma
|
||||
OutputDir=C:\source\Cosmos\Setup\Output
|
||||
OutputBaseFilename=CosmosUserKit
|
||||
Compression=lzma/ultra64
|
||||
SolidCompression=yes
|
||||
SourceDir=c:\source\Cosmos\Build
|
||||
|
||||
[Languages]
|
||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\{cm:ProgramOnTheWeb,Cosmos User Kit}"; Filename: "http://www.gocosmos.org/"
|
||||
Name: "{group}\{cm:UninstallProgram,Cosmos User Kit}"; Filename: "{uninstallexe}"
|
||||
Name: "{group}\{cm:ProgramOnTheWeb,Cosmos}"; Filename: "http://www.gocosmos.org/"
|
||||
Name: "{group}\{cm:UninstallProgram,Uninstall}"; Filename: "{uninstallexe}"
|
||||
|
||||
[Files]
|
||||
Source: "Cosmos.vsi"; DestDir: "{app}";
|
||||
Source: "GAC\*"; DestDir: "{app}\GAC"; Flags: recursesubdirs;
|
||||
Source: "ISO\*"; DestDir: "{app}\ISO"; Excludes: "output.bin"; Flags: recursesubdirs;
|
||||
Source: "PXE\*"; DestDir: "{app}\PXE"; Flags: recursesubdirs;
|
||||
Source: "Tools\*"; DestDir: "{app}\Tools"; Flags: recursesubdirs;
|
||||
Source: "VMWare\*"; DestDir: "{app}\VMWare"; Excludes: "*.log"; Flags: recursesubdirs;
|
||||
Source: "VPC\*"; DestDir: "{app}\VPC"; Flags: recursesubdirs;
|
||||
|
||||
[Registry]
|
||||
Root: HKLM; Subkey: "Software\Cosmos"; ValueType: string; ValueName: "Build Path"; ValueData: "{app}";
|
||||
|
||||
|
|
|
|||
8122
Setup/VS Starter Kits.mht
Normal file
8122
Setup/VS Starter Kits.mht
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -39,6 +39,8 @@ namespace Cosmos.Build.Windows {
|
|||
try {
|
||||
RegistryKey xKey = Registry.CurrentUser.OpenSubKey(@"Software\Cosmos");
|
||||
string xResult;
|
||||
// If no key, see if we are in dev mode
|
||||
// Problem - noone checked this for user kit mode and no key...
|
||||
if (xKey == null) {
|
||||
xResult = Directory.GetCurrentDirectory();
|
||||
xResult = xResult.Substring(0, xResult.IndexOf("source"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue