Reputation: 29
I wanna know how to add that directory confirmation dialog window, where it's showing the main path but the user can still change it and apply it to this code:
[Setup]
AppName=Test
AppVersion=1.0.0
DefaultGroupName=Test
OutputBaseFilename=Test
DisableWelcomePage=no
[Components]
Name: "Format1"; Description: "Format1";
Name: "Format2"; Description: "Format2";
[Files]
Source: "I:\Format1.dll"; DestDir: "{app}\Test\Format1"; Flags:; Components: Format1
Source: "I:\Format2.dll"; DestDir: "{app}\Test\Format2"; Flags:; Components: Format2
Upvotes: 2
Views: 235
Reputation: 5472
By directory confirmation dialog window you mean the Inno's standard Directory page? Use:
[Setup]
DisableDirPage=no
Default value is auto so force this value to no to always show the page, see the doc:
[Setup]
:DisableDirPage
Valid values:auto
,yes
, orno
Default value:auto
Description: If this is set toyes
, Setup will not show the Select Destination Location wizard page. If this is set toauto
, at startup Setup will look in the registry to see if the same application is already installed, and if so, it will not show the Select Destination Location wizard page. Also seeAlwaysShowDirOnReadyPage
.
More details in online Inno help
Upvotes: 3