Groups | Blog | Home
all groups > dotnet general > february 2008 >

dotnet general : How to customize .Net deployment projects dialogs


Dhananjay
2/13/2008 6:24:18 AM
Hi All,
How to customize .Net deployment projects User Interface dialogs? In
other word, lets say, if I want to disable "Disk Cost" button on the
"Select Installation Folder" dialog of my .Net setup, how can I do
that?

Thanks,
Phil Wilson
2/13/2008 7:31:58 AM
I assume you mean Visual Studio Setup&Deployment proojects that generate MSI
files. The short answer is you customize them by using Orca, an MSI editor,
and use the Windows SDK docs to figure out what bits to fiddle. The longer
answer is that Visual Studio setup projects expose less of the Windows
Installer functionality than any other setup tool, but they do this to hide
the complexity. They're not .NET deployment projects, they're just MSI
builders, and tools from WiX, InstallShield, Wise, Advanced Installer have
support for custom dialogs, custom actions anywhere (including to validate
dialog input), features and more. So if Visual Studio setups don't supply
the functionality you need, either look at other tools or get to know Orca
and the internals of MSI files.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
[quoted text, click to view]

AddThis Social Bookmark Button