Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / November 2004

Tip: Looking for answers? Try searching our database.

Get the serial number

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ayrton Phoenix da silva - 25 Nov 2004 03:56 GMT
Dear all,

I am creating a delopment project to create the installer .msi.  In VS.NET
2003, there have a UI for user to input the serial number in predifined
format with check sum. In my project, I also added my custom action to do
somthing. Such as read the serial number and write it to database or
registry...

My question is... how could I got the serial number in my DLL? through
CustomActionData or other way?
Nak - 25 Nov 2004 20:08 GMT
Hi there,

> I am creating a delopment project to create the installer .msi.  In VS.NET
> 2003, there have a UI for user to input the serial number in predifined
[quoted text clipped - 4 lines]
> My question is... how could I got the serial number in my DLL? through
> CustomActionData or other way?

   As a matter of interest, are you using this as for software protection?
If you are you might want to be aware that there are tools available for
unpacking installers, and that would allow people to grab the files out
without needing the serial number.  Just thought I'd mention this...

Nick.
Ayrton Phoenix da silva - 26 Nov 2004 04:43 GMT
Thank for your reply, Nak.

As you know, not only there are tools for unpacking installer, but also the
serial number checksum machanism is really simple, very easy to bypass. So I
am not going to protect my software, just for a record for software support
issue.

Actually, I am interested in the serial number that how can I got this in my
Custom Action! Then I can write it into registry or a file. :-D

Ayrton Phoenix

> Hi there,
>
[quoted text clipped - 13 lines]
>
> Nick.
Nak - 26 Nov 2004 10:45 GMT
Hi Ayrton,

> As you know, not only there are tools for unpacking installer, but also
> the serial number checksum machanism is really simple, very easy to
> bypass. So I am not going to protect my software, just for a record for
> software support issue.

   Okay, just thought I'd check because quite a few people do actually take
that route, and find out later down the line that their software has been
"re-packed", so to speak.

> Actually, I am interested in the serial number that how can I got this in
> my Custom Action! Then I can write it into registry or a file. :-D

   My appologiess but I can't answer this one for you, I haven't actually
used custom actions in a .NET setup package yet.  Maybe someone else can
help you with that.  Sorry :-(

Nick.
Phil Wilson - 29 Nov 2004 16:01 GMT
The raw serial number is in the PIDKEY property (that's case-sensitive).
Signature

Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

> Dear all,
>
[quoted text clipped - 6 lines]
> My question is... how could I got the serial number in my DLL? through
> CustomActionData or other way?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.