You are here

Handling registry entries

13 posts / 0 new
Last post
shanet
Offline
Last seen: 12 years 5 months ago
Joined: 2010-05-27 06:00
Handling registry entries

Hey everyone,

I am almost finished with my BumpTop Portable edition, and just need to deal with the registry settings.

Here's what I got from regfromapp portable:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\ZoneMap]
"UNCAsIntranet"=dword:00000000
"AutoDetect"=dword:00000001

This should be in a .reg file, am I correct?
Also, where would I put this file and how would I direct the launcher to this registry file?

All help appreciated,
shanet

Benedikt93
Offline
Last seen: 10 years 3 weeks ago
Joined: 2009-12-17 14:46
Don't care about this entry

I am not quite sure, but I think this registry entry shouldn't be dealt with as AFAIK it's created by Windows and not the App itself and doesn't even seem to be specific to this app.

"Der Klügere gibt nach, deshalb regieren Dumme die Welt."

shanet
Offline
Last seen: 12 years 5 months ago
Joined: 2010-05-27 06:00
Ok, thankyou for this. Heres

Ok, thankyou for this.

Heres a more recent one. I think this is all the same.

[HKEY_CURRENT_USER\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]
"NodeSlots"=hex(3):02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,02,\
02,02
"MRUListEx"=hex(3):00,00,00,00,06,00,00,00,02,00,00,00,08,00,00,00,17,00,00,\
00,15,00,00,00,0D,00,00,00,16,00,00,00,14,00,00,00,13,00,00,00,11,00,00,00,\
10,00,00,00,12,00,00,00,01,00,00,00,0B,00,00,00,03,00,00,00,0F,00,00,00,0E,\
00,00,00,0C,00,00,00,09,00,00,00,0A,00,00,00,07,00,00,00,05,00,00,00,04,00,\
00,00,FF,FF,FF,FF

[HKEY_CURRENT_USER\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\0]
"MRUListEx"=hex(3):00,00,00,00,03,00,00,00,04,00,00,00,05,00,00,00,06,00,00,\
00,02,00,00,00,01,00,00,00,FF,FF,FF,FF

[HKEY_CURRENT_USER\Local Settings\Software\Microsoft\Windows\Shell\Bags\85\Shell]
"SniffedFolderType"="Generic"

Even if I don't need to do anything to these, for future reference, could anyone please tell me how to handle registry settings?

Thanks for the help!
shanet:P

Shane Thompson
shanet[at]people[dot]net[dot]au

"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut ali

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 6 months ago
Joined: 2007-04-15 21:08
Manual

If you look in the PortableApps.com Launcher manual, you'll find those keys are in the list of keys to ignore. Because you're using the PortableApps.com Launcher, you should just read the registry topic page. It covers just about everything. (I've also got some significant improvements for it, but they're only available in the source form, Other\Source\Manual\topics\registry.rst in a revision from the last few days, not in any build or online yet.)

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

shanet
Offline
Last seen: 12 years 5 months ago
Joined: 2010-05-27 06:00
(No subject)

Ok. Thanks for that.

I have read the manual, I was just double checking.
Only problem is now I don't know how to handle the registry.
I need to know how to point the launcher to the registry file and need to know where the registry file should be.

The following scan is for DVDShrink, another app I want to make portable.

This is what I got for DVDShrink in regshot

Regshot 1.8.2
Comments:DVD Shrink
Datetime:2010/6/3 12:40:42  ,  2010/6/3 12:41:45
Computer:SHANE-PC , SHANE-PC
Username:Shane , Shane

----------------------------------
Keys added:26
----------------------------------
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\DVD Shrink\DVD Shrink 3.2\Recent File List
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Microsoft\Multimedia\ActiveMovie\Filter Cache
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\114\ComDlg
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\114\ComDlg\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\117\ComDlg
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\117\ComDlg\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\294\ComDlg
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\294\ComDlg\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\295\ComDlg
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\295\ComDlg\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\296\ComDlg
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\296\ComDlg\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\299\ComDlg
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\299\ComDlg\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\114\ComDlg
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\114\ComDlg\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\117\ComDlg
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\117\ComDlg\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\294\ComDlg
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\294\ComDlg\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\295\ComDlg
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\295\ComDlg\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\296\ComDlg
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\296\ComDlg\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\299\ComDlg
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\299\ComDlg\{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}

----------------------------------
Values added:124
----------------------------------
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\DVD Shrink\DVD Shrink 3.2\Preferences\BrowserViewMode: 0x00000001
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Microsoft\Multimedia\ActiveMovie\Filter Cache\0: 94 51 00 00 65 68 63 66 00 00 00 00 00 00 00 00 02 01 00 00 00 00 00 00 01 00 20 00 38 00 00 00 40 00 64 00 65 00 76 00 69 00 63 00 65 00 C8 64 3C 04 00 00 00 00 EC 0E 98 FE FE 07 00 00 C8 64 3C 04 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 C6 01 00 00 95 65 2F 00 7B 00 46 00 33 00 38 00 42 00 46 00 34 00 30 00 34 00 2D 00 31 00 44 00 34 00 33 00 2D 00 34 00 32 00 46 00 32 00 2D 00 39 00 33 00 30 00 35 00 2D 00 36 00 37 00 44 00 45 00 30 00 42 00 32 00 38 00 46 00 43 00 32 00 33 00 7D 00 5C 00 65 00 78 00 70 00 6C 00 6F 00 72 00 65 00 72 00 2E 00 65 00 78 00 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 B2 2C C7 FD FE 07 00 00 FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 9D 25 B7 FB FE 07 00 00 C0 E2 E6 02 00 00 00 00 9D 25 B7 FB FE 07 00 00 50 D3 84 0C 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 FF FF FF FF A9 69 13 77 00 00 00 00 00 00 00 00 00 00 00 00 80 78 26 00 00 00 00 00 00 00 00 00 00 00 00 00 F4 7A 26 00 00 00 00 00 6E 00 70 00 00 00 00 00 D0 ED E6 02 00 00 00 00 6E 00 00 00 00 00 00 00 18 4B 13 77 00 00 00 00 00 E0 E6 02 00 00 00 00 50 D3 84 0C 00 00 00 00 88 72 1F 77

Few MB like the above line

HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{CEBFF5CD-ACE2-4F4F-9178-9926F41749EA}\Count\U:\CbegnoyrNccf\ErtfubgCbegnoyr\Ncc\ertfubg\ertfubg.rkr: 00 00 00 00 00 00 00 00 16 00 00 00 54 21 01 00 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{CEBFF5CD-ACE2-4F4F-9178-9926F41749EA}\Count\U:\CbegnoyrNccf\ErtfubgCbegnoyr\Ncc\ertfubg\ertfubg.rkr: 00 00 00 00 00 00 00 00 17 00 00 00 E4 5B 01 00 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{CEBFF5CD-ACE2-4F4F-9178-9926F41749EA}\Count\U:\CbegnoyrNccf\Ertsebzncc Cbegnoyr\ErtSebzNccCbegnoyr.rkr: 00 00 00 00 03 00 00 00 09 00 00 00 28 A2 00 00 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF FF FF FF FF 50 D9 4F ED 19 03 CB 01 00 00 00 00
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{CEBFF5CD-ACE2-4F4F-9178-9926F41749EA}\Count\U:\CbegnoyrNccf\Ertsebzncc Cbegnoyr\ErtSebzNccCbegnoyr.rkr: 00 00 00 00 03 00 00 00 0B 00 00 00 A4 A7 00 00 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF FF FF FF FF 50 D9 4F ED 19 03 CB 01 00 00 00 00
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{CEBFF5CD-ACE2-4F4F-9178-9926F41749EA}\Count\P:\Hfref\Funar\Qrfxgbc\Cbegnoyr Fghss\QIQ Fuevax\QIQ Fuevax Cbegnoyr\Ncc\QIQFuevax\QIQ Fuevax.rkr: 00 00 00 00 02 00 00 00 01 00 00 00 82 1F 00 00 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF FF FF FF FF 60 6D 06 DE 19 03 CB 01 00 00 00 00
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{CEBFF5CD-ACE2-4F4F-9178-9926F41749EA}\Count\P:\Hfref\Funar\Qrfxgbc\Cbegnoyr Fghss\QIQ Fuevax\QIQ Fuevax Cbegnoyr\Ncc\QIQFuevax\QIQ Fuevax.rkr: 00 00 00 00 02 00 00 00 01 00 00 00 A4 5E 00 00 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF 00 00 80 BF FF FF FF FF 60 6D 06 DE 19 03 CB 01 00 00 00 00
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\0\3\1\MRUListEx: 06 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 07 00 00 00 05 00 00 00 04 00 00 00 03 00 00 00 FF FF FF FF
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\0\3\1\MRUListEx: 01 00 00 00 06 00 00 00 02 00 00 00 00 00 00 00 07 00 00 00 05 00 00 00 04 00 00 00 03 00 00 00 FF FF FF FF
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Direct3D\MostRecentApplication\Name: "gta3.exe"
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Direct3D\MostRecentApplication\Name: "DVD Shrink.exe"
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectDraw\MostRecentApplication\Name: "gta3.exe"
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectDraw\MostRecentApplication\Name: "DVD Shrink.exe"
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectDraw\MostRecentApplication\ID: 0x3CCECE14
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectDraw\MostRecentApplication\ID: 0x4103F8B5
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\0\3\1\MRUListEx: 06 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 07 00 00 00 05 00 00 00 04 00 00 00 03 00 00 00 FF FF FF FF
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\0\3\1\MRUListEx: 01 00 00 00 06 00 00 00 02 00 00 00 00 00 00 00 07 00 00 00 05 00 00 00 04 00 00 00 03 00 00 00 FF FF FF FF
HKU\S-1-5-21-2086641563-3722090596-2382898186-1000_Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Direct3D\MostRecentApplication\Name: "gta3.exe"
More lines like the above
----------------------------------
Total changes:174
----------------------------------

How do I point the launcher to a .reg file?
Also, I think my bumptop file is ready. Couuld you please check it out in my other thread and tell me what you think?

Many thanks,
shanet

[Put in a pre tag - mod Chris]

Shane Thompson
shanet[at]people[dot]net[dot]au

"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut ali

shanet
Offline
Last seen: 12 years 5 months ago
Joined: 2010-05-27 06:00
Am still here

Hey.

Just letting you all know I am still here and awaiting a response.

Many thanks,
shanet

Shane Thompson
shanet[at]people[dot]net[dot]au

"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut ali

Jimbo
Offline
Last seen: 4 years 11 months ago
Joined: 2007-12-17 05:43
Confused

You say that you have read the manual, and all the info that you need is definitely in there, so presumably you're having a specific problem.

Could you be more clear as to what it is that you're having difficulty finding/understanding from the manual, so that we can possibly help you, since, at the moment, the best answer to your question would be simply to refer you to the manual or copy/paste it here, which wouldn't help since you've already tried that.

shanet
Offline
Last seen: 12 years 5 months ago
Joined: 2010-05-27 06:00
I have read the manual,

I have read the manual, however I have not seen a section that talks about handling the registry. Could you please include the URL so I can make sure I have read the correct document?

Thanks for your response,
shanet

Shane Thompson
shanet[at]people[dot]net[dot]au

"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut ali

Jimbo
Offline
Last seen: 4 years 11 months ago
Joined: 2007-12-17 05:43
OK

the manual can be found in <drive>:\PortableApps\PortableApps.comLauncher\App\Manual\index.html

On the How to Handle line, click on Dealing with the registry which will take you to a page with details of what keys to look out for, and how the registry is structured, and after that, it has links to the detail sections on the launcher ini sections [RegistryKeys], [RegistryValueWrite], [RegistryCleanupIfEmpty], [RegistryCleanupForce] and [RegistryValueBackupDelete].

Usually, you would use the first of these, and the page for it can be found at <drive>:\PortableApps\PortableApps.comLauncher\App\Manual\ref\launcher.ini\registry.html#ini-section-[RegistryKeys]

Hope that helps. If you have any difficulties with the contents, feel free to ask

shanet
Offline
Last seen: 12 years 5 months ago
Joined: 2010-05-27 06:00
Thankyou so much! I will read

Thankyou so much!

I will read it now.

shanet

Shane Thompson
shanet[at]people[dot]net[dot]au

"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut ali

shanet
Offline
Last seen: 12 years 5 months ago
Joined: 2010-05-27 06:00
GOT IT!!!

Please note:This is for another software-CubicExplorer

Ok. Ive got it. Its all working perfectly for me now. I have run it and its all self-maintaining and is all good.
Here's what I have done:

*Launcher.ini*

[Activate]
Registry=true

[FileWrite1]
Type=Replace
File=%PAL:DataDir%\settings\cubicportable.reg
Find=%PAL:LastDrive%\\
Replace=%PAL:Drive%\\

*CubicPortable.reg*

Windows Registry Editor Version 5.00

[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Administrative Tools]
""
[HKLM\SOFTWARE\Microsoft\Cryptography\RNG]
"Seed"=hex:9A F4 C4 67 A9 92 D0 B0 FA 84 57 B9 7D E8 17 ED FC F9 89 3E 93 01 56 96 5E A5 DC 1D\
E0 E4 B0 79 29 EC 4D 48 9D 32 4D 6B 90 96 2D A3 6A D8 A7 63 88 70 30 54 3A E1 06 44 52 15 21\
0F 4A CC 7F CB 8F 4D 69 4A 7B 46 43 18 6A 11 07 8A E2 E8 E8 67
"Seed"=hex:A5 AF 7F 1D 9F 85 4A 8F 18 0E 48 04 81 A6 70 62 9E 27 D8 23 46 EB 2E 4B 7B 1A 67 31\
5F 6D 9B 01 93 99 BC B1 66 C9 8B 54 58 13 3B 07 21 96 BD 37 DE 93 59 5E 34 39 0D 80 3B 0C AB\
18 58 DF 67 00 6F 02 E0 E9 F2 3D B2 D4 83 DF 7C A6 2C D5 83 3C

[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Prefetcher]
"TracesProcessed"=dword:0x0000005C
"TracesProcessed"=dword:0x00000061
"TracesSuccessful"=dword:0x00000011
"TracesSuccessful"=dword:0x00000013

It all seems to work. If any1 sees any probs in my files, i would appreciate help Smile

Thanks all for your help

Shane Thompson

Shane Thompson
shanet[at]people[dot]net[dot]au

"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut ali

Jimbo
Offline
Last seen: 4 years 11 months ago
Joined: 2007-12-17 05:43
Some (hopefully constructive) comments

Hi,

glad that you're making progress on this. For future note, it is often easier to demark files that you're including if you put the contents inside a pair of <pre> and </pre> tags, making it look like this

# Sample file
some text
blah

On to the content itself....

In launcher.ini, you're activating the registry plugin, but you don't appear to have any registry handling sections, which means that it won't actually do anything with the registry (as I understand it).

The drive letter replace that you are doing also seems to be unneeded, since the drive letter doesn't appear anywhere in the file that you are telling it to process?

In the registry file that you show, none of the keys you list are actually anything to do with your application. Several of them are in the "keys to ignore" list in the launcher's manual, but all of them appear to be windows OS-level keys rather than application specific ones, and as such you probably shouldn't be handling them - especially the crypto seed value. Messing with that could actually reduce the security of your computer.

Edit:
Ick... reading back over that, it comes across as quite negative, which honestly wasn't my intention. I'm only trying to help Smile
Also, I'd just like to say thanks, as reading through your code made me realise that I have a bug in my launcher for ProgressQuest, which I'm off to fix now Wink

shanet
Offline
Last seen: 12 years 5 months ago
Joined: 2010-05-27 06:00
No Harm

Mo harm done Jimbo, I und3erstand you are only trying to help, and thanks for the fast response.
As this is an explorer program,I thought it would need the above keys, which it does seem to need. I did look over and eliminate keys which were in the list, and I thought these keys were sort of un-needed but I have included them to see what it does and it worked absolutely seamlessly, so I will leave them, for now and wait to see if there are any problems with anything, specifically in customization, settings etc. However it seems to store its settings in a file in the programs root directory in xml format, so I don't think I will experience problems.

As for the launcher file...
I just sorta stole it off the 7-zip tutorial Smile

However as I said it does work fine, so unless there is something really wrong, i would prefer to leave it (sorry if that sounds nasty). I hope your project works it self out if you get what I mean Smile

Good luck,

Shane Thompson

Shane Thompson
shanet[at]people[dot]net[dot]au

"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut ali

Log in or register to post comments