How to assoc*.zip to my dinamic path?

22 views
Skip to first unread message

Adrian Dragne

unread,
Jul 7, 2026, 11:33:13 AM (10 days ago) Jul 7
to innosetup
Hello, good day,
I found one bug, I cannot associate (with source *.iss), at means, all files with extenstion *.vlax (is zip-renamed) to "{sd}\vlaxcompil\bin\devcinfo.exe".
After I installed my kitt, then Explorer.exe do not start automatically devcinfo.exe, when I click on any file*.vlax.
Root: HKCU; Subkey: "Software\Classes\Applications\Aro10Comp2026\devcinfo26exe\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{sd}\vlaxcompil\bin\devcinfo.exe"" ""%1"""; Flags: uninsdeletevalue


0user32ioan_celnou_delasuceava.zip
descript.ion

Martijn Laan - Inno Setup

unread,
Jul 7, 2026, 1:28:53 PM (10 days ago) Jul 7
to innosetup
Hi,

See https://jrsoftware.org/isfaq.php#assoc

First set the [Setup] section directive "ChangesAssociations" to "yes". Then create the 5 [Registry] entries the FAQ shows.

Do note that Windows might choose to not to immediately make your new association the default, because it wants the user to be in control.

Greetings,
Martijn

Op 7-7-2026 om 17:30 schreef Adrian Dragne:
--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/bdabc4a9-d032-45eb-ac92-602339144714n%40googlegroups.com.

Gavin Lambert

unread,
Jul 7, 2026, 10:35:02 PM (9 days ago) Jul 7
to innosetup
On Wednesday, July 8, 2026 at 3:33:13 AM UTC+12 Adrian Dragne wrote:
Root: HKCU; Subkey: "Software\Classes\Applications\Aro10Comp2026\devcinfo26exe\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{sd}\vlaxcompil\bin\devcinfo.exe"" ""%1"""; Flags: uninsdeletevalue

Also note that you should not hard-code a path like this to your exe.  Use {app} and set your desired parent path as the DefaultDirName so that the user can choose to install it elsewhere if they wish.  It's also considered bad form to default to installing a top-level directory; apps are supposed to default to being installed under {pf}.
Reply all
Reply to author
Forward
0 new messages