win32 use install: first steps

This commit is contained in:
Joao Moreno 2018-06-19 14:29:36 +01:00
parent b343035fd5
commit 6466eee990
3 changed files with 889 additions and 852 deletions

View file

@ -29,6 +29,12 @@ function packageInnoSetup(iss, options, cb) {
options = options || {};
const definitions = options.definitions || {};
const debug = process.argv.some(arg => arg === '--debug-inno');
if (debug) {
definitions['Debug'] = 'true';
}
const keys = Object.keys(definitions);
keys.forEach(key => assert(typeof definitions[key] === 'string', `Missing value for '${key}' in Inno Setup package step`));
@ -65,7 +71,8 @@ function buildWin32Setup(arch) {
ArchitecturesInstallIn64BitMode: arch === 'ia32' ? '' : 'x64',
SourceDir: buildPath(arch),
RepoDir: repoPath,
OutputDir: setupDir(arch)
OutputDir: setupDir(arch),
InstallTarget: 'system'
};
packageInnoSetup(issPath, { definitions }, cb);

1
build/win32/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
code-processed.iss

File diff suppressed because it is too large Load diff