DirExistsWarning with custom commandline parameter

44 views
Skip to first unread message

Raúl

unread,
Nov 4, 2024, 1:30:48 PM11/4/24
to inno...@googlegroups.com
Hi,

I'll like to set the DirExistWarning setup directive with a custom command line parameter like this:

[Setup]
DirExistsWarning = {param:DirExistWarning|yes}
Is there some workaround to achieve this?

Thanks,


Raúl F.

Bill Stewart

unread,
Nov 19, 2024, 2:51:32 PM11/19/24
to innosetup
1) Set DirExistsWarning to no

2) Use code in the [Code] section to display your own dialog based on the existence of the command line parameter.

Don't forget to take into account silent installations if you decide to do this.

Bill
Reply all
Reply to author
Forward
0 new messages