473,387 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Using serial number from Customer Information page (vs.net)

I have an installer which uses a Customer Information page in it, is there
an easy way to pass the
serial number entered to a custom action?

If not, where would i find the serial number in the registry?

I'm using C# for the custom action

--
Mark Harris
Nov 16 '05 #1
3 5644
Hi,
Use the CustomActionData property of the custom action DLL.
For a sample: http://www.c-sharpcorner.com/Code/2002/Nov/CustomUI.asp

"Mark Harris" <ma**@gamehostcp.com> wrote in message
news:op**************@mark.network.dvmesh.com...
I have an installer which uses a Customer Information page in it, is there
an easy way to pass the
serial number entered to a custom action?

If not, where would i find the serial number in the registry?

I'm using C# for the custom action

--
Mark Harris
Nov 16 '05 #2
Thanks for the reply, i use this for passing data over from 4 other
fields, but the serial number on the Customer Information Dialog doesnt
provide such a variable that i can find. All it provides is a
SerialNumberTemplate, which sets the format for inserting data.

As part of the serial number is the clients identification number, and
their license identification number i need to be able to access the serial
number to verify it with our license servers. The registry entry goes into:
HKLM\SOFTWARE\Microsoft\CurrentVersion\Installer\U serData\S-1-5-21-2283821203-2209084181-2774\InstallProperties\ProductID

I'm not sure yet if that key stays the same for the current installer, but
it would be nice to just pass the info across to the installation
function...

On Fri, 20 Aug 2004 14:10:44 +0530, Shiva <sh******@online.excite.com>
wrote:
Hi,
Use the CustomActionData property of the custom action DLL.
For a sample: http://www.c-sharpcorner.com/Code/2002/Nov/CustomUI.asp

"Mark Harris" <ma**@gamehostcp.com> wrote in message
news:op**************@mark.network.dvmesh.com...
I have an installer which uses a Customer Information page in it, is
there
an easy way to pass the
serial number entered to a custom action?

If not, where would i find the serial number in the registry?

I'm using C# for the custom action

--
Mark Harris


--
Mark Harris
Head Developer
GameHost CP
Nov 16 '05 #3
Ok, try PIDKEY. Internally, the serial number filed name is PIDKEY.

HTH.

"Mark Harris" <ma**@gamehostcp.com> wrote in message
news:op**************@mark.network.dvmesh.com...
Thanks for the reply, i use this for passing data over from 4 other
fields, but the serial number on the Customer Information Dialog doesnt
provide such a variable that i can find. All it provides is a
SerialNumberTemplate, which sets the format for inserting data.

As part of the serial number is the clients identification number, and
their license identification number i need to be able to access the serial
number to verify it with our license servers. The registry entry goes into:
HKLM\SOFTWARE\Microsoft\CurrentVersion\Installer\U serData\S-1-5-21-228382120
3-2209084181-2774\InstallProperties\ProductID

I'm not sure yet if that key stays the same for the current installer, but
it would be nice to just pass the info across to the installation
function...

On Fri, 20 Aug 2004 14:10:44 +0530, Shiva <sh******@online.excite.com>
wrote:
Hi,
Use the CustomActionData property of the custom action DLL.
For a sample: http://www.c-sharpcorner.com/Code/2002/Nov/CustomUI.asp

"Mark Harris" <ma**@gamehostcp.com> wrote in message
news:op**************@mark.network.dvmesh.com...
I have an installer which uses a Customer Information page in it, is
there
an easy way to pass the
serial number entered to a custom action?

If not, where would i find the serial number in the registry?

I'm using C# for the custom action

--
Mark Harris


--
Mark Harris
Head Developer
GameHost CP
Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: tom | last post by:
Hi, How do I get the serial number of the harddisk in .NET? I want this to be the same number even if the user has reformatted, so I do not want the volume serial number. Thanx, t
79
by: Klaus Bonadt | last post by:
In order to protect software from being copied without licence, I would like to use something like a key, which fits only to the current system. The serial number of the CPU or the current...
3
by: Peter | last post by:
Dear all, Would you tell me how to solve the following two problems in an access file upon preparing report form: a) I have written an IIf function for a string field at the beginning of...
13
by: Al the programmer | last post by:
I need to access the serial ports on my webserver from an asp.net page. I have no problem accessing the serial ports from a windows form application, but the code doesn't work in asp.net. I have...
6
by: Paul Bromley | last post by:
Ok - I have given up on trying to find the active IP address for a given PC. For licensing purposes I need to retrive a unique identifier from the PC that the program is installed on. The Hard disk...
0
by: =?Utf-8?B?VE5Db2Rlcg==?= | last post by:
What function do I use to retrieve a drive's serial number using VC++ dot net 2.0? Thanks..
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.