Is it possible to register environment variables in Setup Wizard project?

前端 未结 4 1935
暖寄归人
暖寄归人 2020-12-20 15:36

I am creating a Visual Studio 2008 Setup Wizard for my program
http://support.microsoft.com/kb/307353
I see that it is possible to add registry entries, etc.. Is the

4条回答
  •  伪装坚强ぢ
    2020-12-20 16:31

    Windows Installer does support environment variables through Environment table, but Visual Studio setup projects do not allow you to use it.

    A solution is to use a different setup authoring tool which supports environment variables: http://en.wikipedia.org/wiki/List_of_installation_software

    Another solution is to manually add it in Environment table by editing the MSI with Orca.

    There's also the custom action approach you mentioned.

提交回复
热议问题