开发者

Using a WinForm as a Windows Installer Custom Action

I am working on in installer project that needs to gather some info and act on it during the install (mainly online key retreival and registration). The Setup Project UserInterface templates seem inflexible and poorly documented so I am looking at opening a WinForm as a Custom Action.

I know this is possible because I see reference to it in many places but this is my first Windows Installer experience and so far it is mired in googled contradictions, partial or outdated information and guesswork... erg....

Does anyone have (even a pointer to) a clear concise descrip开发者_JAVA百科tion of how one gets this done in a VS 2008 WinForm project...

Many thanks for inputs


There is no guarantee that the .net framework is installed when the installer is launched (especially on Windows XP). A best practice is to keep your installer away from any dependencies.

Put the online key retrieval and registration in your application rather than doing all that stuff during install.


Create a standard installer class. In the class create your form and show it (ShowDialog is prefered)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜