|
|
|
@ -12,7 +12,7 @@ Component.prototype.createOperations = function()
|
|
|
|
var userProfile = installer.environmentVariable("USERPROFILE");
|
|
|
|
var userProfile = installer.environmentVariable("USERPROFILE");
|
|
|
|
installer.setValue("UserProfile", userProfile);
|
|
|
|
installer.setValue("UserProfile", userProfile);
|
|
|
|
component.addOperation("CreateShortcut", "@TargetDir@\\PA_Calculator.exe", "@UserProfile@\\Desktop\\PA Calculator.lnk");
|
|
|
|
component.addOperation("CreateShortcut", "@TargetDir@\\PA_Calculator.exe", "@UserProfile@\\Desktop\\PA Calculator.lnk");
|
|
|
|
component.addOperation("CreateShortcut", "@TargetDir@/PA_Calculator.exe", "@StartMenuDir@/PA_Calculator.lnk","workingDirectory=@TargetDir@","description=Start PA-Calculator");
|
|
|
|
component.addOperation("CreateShortcut", "@TargetDir@\\PA_Calculator.exe", "@StartMenuDir@/PA Calculator.lnk","workingDirectory=@TargetDir@","description=Start PA-Calculator");
|
|
|
|
} catch (e) {
|
|
|
|
} catch (e) {
|
|
|
|
// Do nothing if key doesn't exist
|
|
|
|
// Do nothing if key doesn't exist
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|