Jump to content

Adding new templates.


Mr.Thunderbird
 Share

Recommended Posts

Why didn't you give me that info in the beginning, that would have made it so much easier.

You can use InstallWatch before you create a new template and trace the registry changes it made, then export them for me.

P.S. What program do you use for vpk files other than notepad?

I mean what do you install for vpk files to get added?

Link to comment
Share on other sites

OK copy the FileName.vpk file you want to get added to %Systemroot%\ShellNew and right click on HKCR/.vkp/ShellNew add a new string value

Name it FileName and the Value data: should be the name of the file in %Systemroot%\ShellNew

Here is mine i did with a INF addon file

newaddonai5.png

newrk6.png

Link to comment
Share on other sites

You can export and convert the reg strings to batch if you needed, just export and post what registry entries you think need to get added and I can convert them to batch if you wanted... You could copy the .vpk file to %SystemRoot%\ShellNew with the batch file also ;)

Link to comment
Share on other sites

Ahh, yes of course, sorry man :(

Everything should be "modified" in these two :)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\vkp_auto_file]
@="VKP Patch"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\vkp_auto_file\shell]
@="VKP Patch"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\vkp_auto_file\shell\edit]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\vkp_auto_file\shell\edit\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\vkp_auto_file\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\vkp_auto_file\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.vkp]
@="vkp_auto_file"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.vkp\ShellNew]
"FileName"="3152859.vkp"

Also ^^

i noticed that if I call it something and put it in the templates folder. it will work too :)

so I have a file named "3152859.vkp" in my "C:\Documents and Settings\All Users\Templates" folder.

Thank you Rick! :D

Link to comment
Share on other sites

@Rick,

I have created 4 files.

1 .bat file.

2 .reg files.

1 .VKP file.

My batch file, is moving the VKP to the needed place, and calling the TWO reg files. After that, pause, and after pressing a key, it deletes the 4 files....

I just can't pack it in a .exe file!

Do you know any good program to make self-extracting archives which can launch the .BAT file after extraction?

Also without "YES" "NO" boxes. Like a silent installer.

Also, what is the command so it says "YES" to the two reg files ?

So it don't asks, about "DO YOU WANT TO ADD"... ? :)

If you can answer these questions, I WILL be very happy :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...