You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated the ProgId implementation and from the next release you can place the ProgId entity outside of the COM registration:
// under the root dirvarproject=newProject("MyProduct",newDir(@"%ProgramFiles%\My Company\My Product",newProgId{Id="PROG.ID.8",Description="Version independent ProgID "},// or even under the project rootvarproject=newProject("MyProduct",newProgId{Id="PROG.ID.8",Description="Version independent ProgID "},newDir(@"%ProgramFiles%\My Company\My Product",
it will emit the ProgId element in the first parent component:
Please note that while it seems to work, it does not exactly align with WixSharp paradigm, which encourages setup definition with a component-less mindset. This is because components in MSI are kinda "the blast from the past" (24 years ago to be precise). As many other over-engineered concepts like minor-update, MSM etc.
Don't get me wrong you can use any MSI feature as you wish, it's simply there will be limits on how much component exposure WixSharp will offer. Though in your case of ProgId we are perfectly OK.
For example, ProgIds are Microsoft's recommended (and more flexible) way to register file associations.
Example wxs: https://github.com/OpenKneeboard/OpenKneeboard/blob/2316b1290fef72750f0485a6ec0b618db04af4ca/installer/OpenKneeboardPluginFileType.wxs
The text was updated successfully, but these errors were encountered: