Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Making custom installer via System.Configuration.Install namespace
 

Making custom installer via System.Configuration.Install namespace

Hello, my problem is following:

I want to make an installer that will look through folders and suggest an installation folder. I didn't find a way to change values of user controls programmatically in Install action. I suppose that i could make a custom installer via System.Configuration.Install namespace

So, I need some description how to do that or if this way is too weird tell me another way

x_Xander_x  Tuesday, August 18, 2009 12:01 PM
You're probably assuming that System.Configuration.Install is what drives an installation, perhaps because you think that setup projects are part of .NET. Setup projects are nothing to do with .NET, and nothing to do with System.Configuration.Install. MSI-based setups are Win32 and use dialogs and controls mostly embedded in the MSI file. You can make a custom UI to install an app in basicallytwo ways:

1) Use a setup tool that lets you create your own dialogs that are MSI based and work in the same general way as the standard VS dialogs - these are loaded from the MSI file's Dialog table at install tiome.

2) Completely delete the MSI UI and install your MSI file silently, but wrapped by your UI. This type of thing:
http://msdn.microsoft.com/en-us/library/bb309215(VS.85).aspx
Phil Wilson
PhilWilson  Tuesday, August 25, 2009 7:05 PM

You’d better use a registry key to change the default location.

Please refer to the following thread. Hope this helps.

http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/c87c6531-561d-4725-bff6-d261f27e187e

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Monday, August 24, 2009 1:18 PM
You're probably assuming that System.Configuration.Install is what drives an installation, perhaps because you think that setup projects are part of .NET. Setup projects are nothing to do with .NET, and nothing to do with System.Configuration.Install. MSI-based setups are Win32 and use dialogs and controls mostly embedded in the MSI file. You can make a custom UI to install an app in basicallytwo ways:

1) Use a setup tool that lets you create your own dialogs that are MSI based and work in the same general way as the standard VS dialogs - these are loaded from the MSI file's Dialog table at install tiome.

2) Completely delete the MSI UI and install your MSI file silently, but wrapped by your UI. This type of thing:
http://msdn.microsoft.com/en-us/library/bb309215(VS.85).aspx
Phil Wilson
PhilWilson  Tuesday, August 25, 2009 7:05 PM

You can use google to search for other answers

Custom Search

More Threads

• Setup-Project and copying a folder
• Install multiple instances of an msi on one box?
• ApplicationDeployment.DownloadFileGroup Method
• Install 2 services at same time
• !!!HELP!!! Is ClickOnce useless? Publishing a Clickonce application after certificate renewal.
• System.BadImageFormatException executing Custom Action in setup project
• webservice setup
• IEExec.exe crashes after assembly update
• "just me" v. "everyone"
• Is there a forum for Visual Studio's msi builder