Wix - Setting Install Folder correctly

前端 未结 2 692
抹茶落季
抹茶落季 2020-12-03 10:38

I\'m creating a program which is being installed by Wix, using VS 2010 and I\'ve already got the product.wxs ready.

In my wxs file, I\'ve got directory definitions w

2条回答
  •  鱼传尺愫
    2020-12-03 11:13

    I have finally figured out the problem. After searching for a while, I came across this document:

    WixUI_InstallDir Dialog Set

    The relevant part: "The directory ID must be all uppercase characters because it must be passed from the UI to the execute sequence to take effect."

    And as you can see in my code: "Myapp_Installer_Dir" does not meet this criteria.

    After changing it to "MYAPPINSTALLERDIR", everything worked.

提交回复
热议问题