Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > how to create a custom setup package?
 

how to create a custom setup package?

hi everybody,i'm stuckand i hope you help me carry on.Idevelopped an application in c++.this application depends on configuration parametersthat shoud be stored in the windows registry.Now i need to create a setup package of this application,the user should be allowed to set configuration parameters before generating the msi.I hope you see what i mean.

thanks in advance.
wajdi86  Tuesday, September 29, 2009 11:16 AM
Hi wajdi,

>this application depends on configuration parameters that shoud be stored in the windows registry.

I think custom action can meet this requirement. You can handle the BeforeInstall event to raise a form let user input the information and add register key. For the detail information of custom action, please read this document.
http://msdn.microsoft.com/en-us/library/d9k65z2d%28VS.80%29.aspx

>the user should be allowed to set configuration parameters before generating the msi.

Could you please explain it more clearly? What does set configuration parameters before generating the msi mean?

If I misunderstood you, please feel free to tell me.

Sincerely,
Kira Qian
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework!
Kira Qian  Thursday, October 01, 2009 7:51 AM
hi kira,

thanks for replying.The application that i've got will be installed on many clients.So,the configuration parameters values are different from one client to another.What i need is a program that,first of all, allows me toset these configuration parameters which will be stored in the client registry,then the program generate the msi client according to these parameters.I hope you see what i mean.

I'm looking forward your reply.
thanks again
wajdi86  Thursday, October 01, 2009 11:36 AM
Hi wajdi,

Are you saying make an application which can generate MSI?

Sincerely,
Kira Qian

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework!
Kira Qian  Friday, October 02, 2009 9:21 AM

You can use google to search for other answers

Custom Search

More Threads

• How to copy all references to the output directory?
• Clickonce installation stops (fails) without error message
• VS2005 hangs when adding setup project to an existing solution
• Updating ClickOnce App
• Install Content Files In A Directory Structure
• HowTo: Launch Browser window from winform usercontrol ?
• ClickOnce Question
• Setup.exe localization
• Monitor FTP Site
• ClickOnce Deployment Issue with .Net framework 3.5 sp1