Skip to content

Commit

Permalink
use shortName for registry and installInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdisaster committed May 13, 2020
1 parent adb0275 commit e24459d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/creator.ts
Expand Up @@ -589,14 +589,14 @@ export class MSICreator {

const stubExe = await createStubExe(this.appDirectory,
this.exe,
this.name,
this.shortName,
this.manufacturer,
this.description,
this.windowsCompliantVersion,
this.iconPath);

const installInfoFile = createInstallInfoFile(this.manufacturer,
this.name,
this.shortName,
this.productCode,
this.semanticVersion,
this.arch);
Expand All @@ -621,7 +621,7 @@ export class MSICreator {
private getRegistryKeys(): Array<Registry> {
const registry = new Array<Registry>();
const uninstallKey = 'SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{{{ProductCode}}}.msiSquirrel';
const productRegKey = 'SOFTWARE\\{{Manufacturer}}\\{{ApplicationName}}';
const productRegKey = 'SOFTWARE\\{{Manufacturer}}\\{{ApplicationShortName}}';

// On install we need to keep track of our install folder.
// We then can utilize that registry value to purge our install folder on uninstall.
Expand Down

0 comments on commit e24459d

Please sign in to comment.