logo

How to customize MSI Installer using C#

Posted by Ravi G in C# .NET

Saturday, January 09, 2010 7:16:37 AM

We have created an MSI Installer using C#.
In the Installer we have the following screens:
1. Welcome screen
2. Installation Folder screen
3. Confirmation screen
4. Installation progress screen
5. Installation Completed screen

All the above screens are provided by the MSI Installer by default.

************* Query ****************************

We have requirement to validate the LICENSE keys before installation starts (Installation Folder screen). The License Key will in binary format palced in the same folder as MSI.
So we would like to get the control from Welcome screen to validate the license key. Please let us know if there is any way to get the control.

Thanks in advance.

Biography
Ravi has not submitted biographical details.

Site Rank:  Not applicable - Current Winnings:  $0.00

Reply Reply Using Power Editor
[)ia6l0 iii

You can use custom Actions to validate license keys.

[)ia6l0 iii replied to Ravi G

EggHeadCafe's human moderators scored this post for our messageboard contest.

Saturday, January 09, 2010 10:36:26 AM

Or choose the Orca Tool to validate for license information like a serial number. There is a Microsoft Support article here, that talks about the steps involved in using Orca to customize windows installer that validates a serial number.

Also, there is an article on Code Project that throws more light on the same concept that is briefed in the Support article link above. And also provides you downloadable source code. 

I would even look at an alternative solution to Visual Studio: Wiks to be able to deliver a wholly customizable windows installers, which are pretty highly configurable and reliable. 

Hope it helps.

Biography
:-)

Site Rank:  13th place - Current Winnings:  $16.00

Reply Reply Using Power Editor

Didn't Find The Answer You Were Looking For?

EggHeadCafe has experts online right now that may know the answer to your question.  We pay them a bonus for answering as many questions as they can.  So, why not help them and yourself by becoming a member (free) and ask them your question right now?
Ask Question In Live Forum








  $1000    Adam Houldsworth - $188  |  Jonathan VH - $141  |  Kirtan Patel - $119  |  F Cali - $112  |  Huggy Bear - $87  |  more Neado  |  Free Icons  |  Privacy  |   (c) 2010