Search code examples
c#visual-studio-2010windows-installersetup-projectsetup-deployment

Replace the Installation Folder dialog in Visual Studio Setup Project with my own Installation Folder dialog?


As you know, when creating a Visual Studio Setup project (with a msi file as output). In the User Interface window, there is a dialog named "Installation Folder". I want to decorate this dialog (such as use an Office 2007-styled form instead)... I think I have to delete that ugly default dialog from User Interfaces and show my own dialog in the custom Installer class. However I don't know how to pass the path which user selects to the default installer. I mean I don't want to customize and do everything myself (it's not easy and also not necessary) but I just want to use my skinny dialog and this dialog should know how to pass the selected installation path to the 'next stage' of the installation process.

I hope you understand my problem and help me out. In fact, if we know how to do the same things when working on Visual Setup projects, we can customize them much more to build diverse setup projects.

Your help would be highly appreciated. Thanks!


Solution

  • My answer is don't visual studio setup project is simply not meant for this. also it is disconinued: see: Create MSI or setup project with Visual Studio 2012

    I suggest to move to WiX toolset or InstallShield.