Jump to content











Photo
- - - - -

Add a soft to Live XP


  • Please log in to reply
5 replies to this topic

#1 Toan293

Toan293

    Newbie

  • Members
  • 15 posts
  •  
    Vietnam

Posted 26 February 2012 - 02:15 AM

Hello all member of reboot.pro
I have a question : I want to add a soft to live xp such as : Tera copy , IDM , Firefox ...and more but I can not edit regedit of Live XP . So Can you tell me how to edit regedit of Live Xp ? Thank you very much!

#2 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 26 February 2012 - 03:56 AM

I'm guessing you mean, how to add registry data to LiveXP... you need to use a tool like RegCPE or reg2WBS to convert the reg file(s) to wb script and add it to your program script.

RegCPE: http://theoven.org/index.php?topic=106.0
reg2WBS: http://reboot.pro/871/

:cheers:

#3 Toan293

Toan293

    Newbie

  • Members
  • 15 posts
  •  
    Vietnam

Posted 02 March 2012 - 09:28 AM

Thank but I do not know use it. Would you tell me use it? Thank you very much!

#4 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 02 March 2012 - 03:03 PM

To add a software installation to PE, you need to capture the changes made during installation of that program on your host machine (or PE) and add the files and registry changes to a Winbuilder script (look at existing scripts for ideas). I use What Changed to isolate the program files and Advanced Registry Tracer to capture the registry changes (Reg-Shot can essentially do the same thing and is free). A note on the registry file(s), these changes are best determined by taking a snapshot of the registry immediately before and after the program install/setup. There are always a number of keys saved that you don't need (and may cause errors). Any key containing ShellNoRoamBagMRU or MUICache or MicrosoftCryptographyRNG should be dumped and keys with references to 'Uninstall', 'Session Information' or 'Start menu' are also OK to cut, as well as any references to local directories on your host (like where the program.exe was launched from etc.). Entries looking to (local drive) e.g C:Program Files need to be changed to PE system drive X:Program Files etc. and similar with any reference to host system files. The keys beginning with HKEY_USERS can usually be removed but may include important keys with registration information or other user specific data so look carefully (if not sure, leave them in). Wherever you have duplicate sets of HKEY_USERS i.e. HKEY_USERS.DEFAULT and HKEY_USERSS-1-5-18*, you probably only need to keep the .DEFAULT entries. *If you need to import user specific keys captured from your host, be sure to change any user ID's to default, so S-1-5-XX-xxxxxxxxxx-xxxxxxxxx-xxxxxxxxxx-xxxx becomes simply S-1-5-18. Use a good text editor like Notepad++, it's free and has many advantages over notepad, such as finding and replacing all occurrences of text you search for in one shot and useful highlighting of matching text.

If not sure about certain keys you capture, you can do a little investigative work in PE, manually importing them to see how they affect the program. You should always test the final reg file(s) in PE by manually importing the data (dbl-click reg files and accept prompt) to make sure there isn't some conflict (you'll get an error message if there is). Never make changes or tests like this on your host registry!! Any changes made are only exported reg files imported to your PE's registry to see if they give the desired changes.

Once you have the program/system files and registry data isolated for the program, you need to get them into the script. For adding files, there are options in Winbuilder under Tools - Create script.. for adding files; look at how files are added or linked to in existing scripts for more ideas. The registry files need to be converted to wb script using one of the tools suggested; simply browse to the registry file(s) and choose convert to script (goool or build) so that reg data gets converted like this example:
Registry Editor Version 5.00



[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{275DBBA0-805A-11CF-91F7-C2863C385E30}]

@="MSFlexGrid Style Property Page Object"



[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{275DBBA0-805A-11CF-91F7-C2863C385E30}InprocServer32]

@="X:i386system32MSFLXGRD.OCX"



[HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{6262D3A0-531B-11CF-91F6-C2863C385E30}]

@="Microsoft FlexGrid Control, version 6.0"

To:
[Process]

RegHiveLoad,Tmp_Software,%RegSoftware%

RegWrite,HKLM,0x1,Tmp_SoftwareClassesCLSID{275DBBA0-805A-11CF-91F7-C2863C385E30},,"MSFlexGrid Style Property Page Object"

RegWrite,HKLM,0x1,Tmp_SoftwareClassesCLSID{275DBBA0-805A-11CF-91F7-C2863C385E30}InprocServer32,,X:i386system32MSFLXGRD.OCX

RegWrite,HKLM,0x1,Tmp_SoftwareClassesCLSID{6262D3A0-531B-11CF-91F6-C2863C385E30},,"Microsoft FlexGrid Control, version 6.0"

RegHiveUnLoad,Tmp_Software
or
[Process]

Hive_Load,Machine

reg_add,0x1,%reg%ClassesCLSID{275DBBA0-805A-11CF-91F7-C2863C385E30},,"MSFlexGrid#$sStyle#$sProperty#$sPage#$sObject"

reg_add,0x1,%reg%ClassesCLSID{275DBBA0-805A-11CF-91F7-C2863C385E30}InprocServer32,,"X:i386system32MSFLXGRD.OCX"

reg_add,0x1,%reg%ClassesCLSID{6262D3A0-531B-11CF-91F6-C2863C385E30},,"Microsoft#$sFlexGrid#$sControl#$c#$sversion#$s6.0"

Hive_Unload,Machine
depending on which tool is used.

Once converted, add the script code to the Process section of your script and let the testing begin ;)
  • Toan293 likes this

#5 Toan293

Toan293

    Newbie

  • Members
  • 15 posts
  •  
    Vietnam

Posted 03 March 2012 - 06:38 AM

Thank you very much I have understood! If I do not do, I hope you will help me !!

Edited by Toan293, 03 March 2012 - 06:39 AM.


#6 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 03 March 2012 - 02:59 PM

Always happy to help :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users