5 Commits

Author SHA1 Message Date
Jordan Russell
5e15dbf450
More file association work.
- Add an OpenWithProgids value. The default value of ".iss" is still being set, though it doesn't appear to have an effect on Windows 11 (the association works without it, and changing it doesn't change the default app).

- Remove OpenWithInnoSetup verb (likely predates the "Open with" menu)

- Unregister before registering. This removes the OpenWithInnoSetup verb on existing installations.
2025-01-01 04:22:18 -06:00
Jordan Russell
264e565940
Actually we do need to conditionally delete InnoSetupScriptFile in the case of multiple IS installations. 2025-01-01 02:43:46 -06:00
Jordan Russell
c45b79d2b4
Unregister .iss association from both HKCU and HKLM, and remove all the conditional deletion code.
Before the "Open with" menu existed, if an app wanted to add itself to an existing association's context menu without taking over the association completely, it had to modify the ProgID key of whatever app owned the association. To allow for that, we previously were very careful to only delete keys/values under InnoSetupScriptFile that we created.

But there's no longer any need for that. If an app wants an "Open with" item, it should register its own ProgID and add a value under ".iss\OpenWithProgids" linking to it.
2024-12-31 05:13:22 -06:00
Jordan Russell
4b05dce297
Don't set unnecessary SupportedTypes key on file associations.
https://groups.google.com/g/innosetup/c/r6-_em0DGNs/m/KE7p9uqhBAAJ
2024-12-31 02:51:11 -06:00
Martijn Laan
6db7a31745
Move the sources back into the Src folder now that they have prefixes. Changed the Shared prefix of the files which were in SetupLdrAndSetup to Setup. Todo: the remaining dirs with helper code. 2024-08-05 16:56:18 +02:00