Jump to content











Photo
- - - - -

How do you add license data to a script?


  • Please log in to reply
15 replies to this topic

#1 Sirquil

Sirquil

    Frequent Member

  • Advanced user
  • 108 posts
  • Location:Indianapolis, Indiana
  •  
    United States

Posted 17 July 2007 - 07:15 PM

I have two commercial programs that I have licensed; how do I add license details to their scripts.
Build is with Winbuilder 072, Project is VistaPE-beta.

Programs are UltraISO and Handy Recovery.

I have looked over and searched the forum for license information; no success.

#2 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10545 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 17 July 2007 - 08:06 PM

Where can these scripts be found?

What registry keys need to be written?

Type the server location and I'll find it.. :yahoo:

#3 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 17 July 2007 - 09:26 PM

I have two commercial programs that I have licensed; how do I add license details to their scripts.
Build is with Winbuilder 072, Project is VistaPE-beta.

Programs are UltraISO and Handy Recovery.

I have looked over and searched the forum for license information; no success.

First you have to know where your licences are stored. Are they in the registry or in a file?
If they are in the registry you have to extract the values and then tell your script to write those values to the PE registry.
If it's a file, attach it to your script and tell it to unpack it to the right folder, done.

Problem is though, that some registrations can't be moved from one system to another, if that is the case with your licences as well, you're out of luck and have to look for an alternative.

:yahoo:

#4 Sirquil

Sirquil

    Frequent Member

  • Advanced user
  • 108 posts
  • Location:Indianapolis, Indiana
  •  
    United States

Posted 17 July 2007 - 10:57 PM

Where can these scripts be found?

What registry keys need to be written?

Type the server location and I'll find it.. :yahoo:


http://vistape.boot-...ng/plugins.html = "UltraISO" script

http://www.boot-land...amp;showfile=15 "Handy Recovery script

HKey current_user\EasyBoot Systems\UltraISO\5.0
registration Reg_SZ "hexadecimal value "
UserName Reg_SZ "User name"

I think there are only two entries; I could be wrong...

I could find no entries for Handy Recovery

I used your "Handy Recovery" script; it does not give the probability of recovery with the information presented, as the version on the desktop pc does.

#5 Sirquil

Sirquil

    Frequent Member

  • Advanced user
  • 108 posts
  • Location:Indianapolis, Indiana
  •  
    United States

Posted 17 July 2007 - 11:05 PM

First you have to know where your licences are stored. Are they in the registry or in a file?
If they are in the registry you have to extract the values and then tell your script to write those values to the PE registry.
If it's a file, attach it to your script and tell it to unpack it to the right folder, done.

Problem is though, that some registrations can't be moved from one system to another, if that is the case with your licences as well, you're out of luck and have to look for an alternative.

:yahoo:


I'll try encoding files from my system; I have been using those in the provided script.

Thanks MedEvil...

#6 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 18 July 2007 - 12:15 AM

I could find no entries for Handy Recovery

I used your "Handy Recovery" script; it does not give the probability of recovery with the information presented, as the version on the desktop pc does.

Since Handy Recovery is a program for recovering files it would make sense, if it would be completely self contained, so that it does not have to write to the system at all and possibly destroy important data.
I would guess that it uses a licence file.

The difference between the script version and yours, can probably be explained by the fact that the script uses version 1 which is freeware.

:yahoo:

#7 Sirquil

Sirquil

    Frequent Member

  • Advanced user
  • 108 posts
  • Location:Indianapolis, Indiana
  •  
    United States

Posted 18 July 2007 - 02:01 AM

Since Handy Recovery is a program for recovering files it would make sense, if it would be completely self contained, so that it does not have to write to the system at all and possibly destroy important data.
I would guess that it uses a licence file.

The difference between the script version and yours, can probably be explained by the fact that the script uses version 1 which is freeware.

:yahoo:


I updated the script;however, it has a thirty day counter and limited number of files you can recover from what I read on programs website.

I searched the registry and found two entries searching for the license alphanumerical string:

------------------------------------------------------Handy Recovery---------------
Handy Recovery -?

[HKEY_CLASSES_ROOT\hrnkh]
"1"="alphanumerical string"
"3"=hex:three lines of hex values

"1"= REG_SZ
"3"= REG_BINARY


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\hrnkh]
"1"="alphanumerical string"
"3"=hex:three lines of hex values

"1"= REG_SZ
"3"= REG_BINARY

I do own a license for Handy Recovery. Trying to find a way to add license data to an otherwise working script. The pc used for building VistaPE is running Vista Home Premium.

#8 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 18 July 2007 - 08:19 AM

One can of course always do one thing, but remember you didn't heared that from me! :)

Get yourself a crack for your licenced program to remove the license hassle. Since you've already bought it and have a valid licence to proove it, there will be no repercussions.

:yahoo:

#9 Sirquil

Sirquil

    Frequent Member

  • Advanced user
  • 108 posts
  • Location:Indianapolis, Indiana
  •  
    United States

Posted 18 July 2007 - 11:34 PM

Needed is the format and variables to use with the data entries into the scripts. I have the license data.

#10 Sirquil

Sirquil

    Frequent Member

  • Advanced user
  • 108 posts
  • Location:Indianapolis, Indiana
  •  
    United States

Posted 08 February 2008 - 03:01 PM

Handy Recovery works under Microsoft Windows® 9x/Me/NT/2000/XP/2003/Vista operating systems. The program supports all Windows file systems for hard and floppy drives including FAT12/16/32, NTFS/NTFS 5 and image recovery from CompactFlash, SmartMedia, MultiMedia and Secure Digital cards. It can recover compressed and encrypted files on NTFS drives.

http://www.handyrecovery.com/

Does anyone have a version of Nuno Brito's Handy Recovery that accepts input of license data?

I am apparently missing something in my attempts to create this capability. The demo version is restricted in the number of files that can be recovered.

Thanks to Galapo for his UltraISO script, just what was needed for that program.

#11 Sirquil

Sirquil

    Frequent Member

  • Advanced user
  • 108 posts
  • Location:Indianapolis, Indiana
  •  
    United States

Posted 03 December 2008 - 10:04 PM

Still trying to add license to a script. I have a registry file that normally is merged into the registry of computer, that has the program is installed.
I do not understand how do this for my script.

Sample:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\12345]
"1"="ZZZZXX6462KK33A45"
"3"=hex:1a,41,ff,33,df,53,1b,dd,ff,32,db,7f,f8,3b,ff,1c,03,81,eb,16,ee,21,b4,\
69,c9,8e,31,76,e4,34,7a,21,d8,99,ef,3a,58,46,8c,57,08,c1,94,38,61,1f,ef,18,\
79,6f,80,fc,21,98,38,c4,a8,fb,8e,46,f4,ef,32,3e,c6,4a,7f,ec,10,07,00,00

What hive do I need to use?

Can this be added to the Default hive?

#12 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 03 December 2008 - 10:56 PM

[codebox]Hive_Load,HKU reg_add,0x1,"%reg%\Classes\12345","1","ZZZZXX6462KK33A45" reg_add,0x3,"%reg%\Classes\12345","3","1a","41","ff","33","df","53","1b","dd","ff","32","db","7f","f8","3b","ff","1c","03","81","eb","16","ee","21","b4","69","C9","8E","31","76","E4","34","7A","21","D8","99","EF","3A","58","46","8C","57","08","C1","94","38","61","1F","EF","18","79","6F","80","FC","21","98","38","C4","A8","FB","8E","46","F4","EF","32","3E","C6","4A","7F","EC","10","07","00","00" Hive_Unload,HKU[/codebox]

#13 Sirquil

Sirquil

    Frequent Member

  • Advanced user
  • 108 posts
  • Location:Indianapolis, Indiana
  •  
    United States

Posted 04 December 2008 - 02:21 AM

@ Galapo
Thank you for the code snippet.


There are four different hives with the same entries;as in your code snippet:

HKEY_CLASSES_ROOT

HKEY_CURRENT_USER

HKEY_LOCAL_MACHINE

HKEY_USERS

Do I need all four hive entries; even though they contain same entries?

What are the equivalent names for all of the hives?

#14 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 04 December 2008 - 09:58 AM

@ Galapo
Thank you for the code snippet.


There are four different hives with the same entries;as in your code snippet:

HKEY_CLASSES_ROOT

HKEY_CURRENT_USER

HKEY_LOCAL_MACHINE

HKEY_USERS

Do I need all four hive entries; even though they contain same entries?

What are the equivalent names for all of the hives?

You need HKEY_CURRENT_USER ('default') and HKEY_LOCAL_MACHINE ('software')

HKEY_USERS is a collection of all users of this PC, HKEY_CURRENT_USER is the actuoal one of them
HKEY_CLASSES_ROOT is mapped as Software\Classes into HKEY_LOCAL_MACHINE.

The easiest way to convert such registry entries into WinBuilder script snippets, is using Reg2WBS.

Peter

#15 homes32

homes32

    Gold Member

  • .script developer
  • 1030 posts
  • Location:Minnesota
  •  
    United States

Posted 04 December 2008 - 03:01 PM

I updated the script;however, it has a thirty day counter and limited number of files you can recover from what I read on programs website.

I searched the registry and found two entries searching for the license alphanumerical string:

------------------------------------------------------Handy Recovery---------------
Handy Recovery -?

[HKEY_CLASSES_ROOT\hrnkh]
"1"="alphanumerical string"
"3"=hex:three lines of hex values

"1"= REG_SZ
"3"= REG_BINARY


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\hrnkh]
"1"="alphanumerical string"
"3"=hex:three lines of hex values

"1"= REG_SZ
"3"= REG_BINARY

I do own a license for Handy Recovery. Trying to find a way to add license data to an otherwise working script. The pc used for building VistaPE is running Vista Home Premium.


I also own a copy of HR. but the serial number is tied to your specific computer that you registered on and therefore will not work in a winbuilder project unless you remove the restriction/patch the .exe (hint, hint).

#16 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 04 December 2008 - 07:55 PM

case 1. ultraiso

registration details are written as:

[HKEY_CURRENT_USER\Software\EasyBoot Systems\UltraISO\5.0]
"UserName"=""

[HKEY_CURRENT_USER\Software\EasyBoot Systems\UltraISO\5.0]
"Registration"=""


I noticed that while the real serial number is 16 bit long, the respective registry entry is transformed to a ciphered 32 bit long.

Since you don't know the cipher logarithm and you cannot inject any *.reg file at project' built time, the only way is making a self-extractive archieve of Ultraiso files, with two setup entries. First entry for silent registry import (Setup=regedit /s key.reg) , and 2nd for Ultraiso executable. Tested and works.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users