Skip to content

Commit

Permalink
Changed default portable install dir to C:\BCUninstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
Klocman committed Sep 20, 2018
1 parent 29c3547 commit 9d5a634
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions installer/scripts/PortablePage.iss
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,12 @@ begin
if PageID = wpSelectProgramGroup then
Result := IsPortable();
end;
procedure CurPageChanged(CurPageID: Integer);
begin
// Change the default install path if user selected portable install
if CurPageID = wpLicense then begin
if(AdvancedRadioButton.Checked = True) then
WizardForm.DirEdit.Text := ExpandConstant('{sd}\{#MyAppName}');
end;
end;

0 comments on commit 9d5a634

Please sign in to comment.