Mr.Thunderbird Posted October 30, 2007 Share Posted October 30, 2007 Hello everybody I was thinking, is it possible to add a template ?I mean the "NEW" menu when you right click empty space in windows explorer.And can it be done through batch files or some others ?I want to add some templates on more the 100 pc's, Quote Link to comment Share on other sites More sharing options...
ricktendo Posted October 30, 2007 Share Posted October 30, 2007 I can do it using INF files just tell me what kind of ShellNew you want and maybe more details on how the new Command or FileName is created... What extension of file etc. Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted October 30, 2007 Author Share Posted October 30, 2007 Well the extention is .VKPIt can be opened with notepad Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted October 31, 2007 Author Share Posted October 31, 2007 Rick BTW,How can I make UNSIGNED drivers install itself, I have the .sys file and the .inf Quote Link to comment Share on other sites More sharing options...
ricktendo Posted October 31, 2007 Share Posted October 31, 2007 So all you want is a New .VPK files correct?For the drivers you can patch sfc.dll or edit WINNT.SIF Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted October 31, 2007 Author Share Posted October 31, 2007 Yes that's true, just NEW.VKP Could you provide me with some more info about the " patch sfc.dll or edit WINNT.SIF" ? Quote Link to comment Share on other sites More sharing options...
ricktendo Posted November 2, 2007 Share Posted November 2, 2007 Sorry Mr.T no success to report Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted November 2, 2007 Author Share Posted November 2, 2007 Oh okay, well thanks anyway, guess I'm going to do it through "TWEAK UI" Quote Link to comment Share on other sites More sharing options...
ricktendo Posted November 2, 2007 Share Posted November 2, 2007 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? Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted November 2, 2007 Author Share Posted November 2, 2007 None programs install the extension, and I only use notepad (or notepad2 or notepad++).Hmm yes, I will. Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted November 2, 2007 Author Share Posted November 2, 2007 Hmm, my TWEAK UI, don't want to add it, it shows that it is added, but when I go to the "NEW" menu, it isn't there .. Quote Link to comment Share on other sites More sharing options...
ricktendo Posted November 2, 2007 Share Posted November 2, 2007 Can you export the .vpk extension from HKCR and upload the vpk file you want added when your right click and go to New Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted November 2, 2007 Author Share Posted November 2, 2007 (edited) The registry shows that it is there. (HKEYLOCALM/SOFTWARE/classes/.vkp/shellnew.but it isn't in the NEW menu...It also added it in CLASS ROOT Edited November 2, 2007 by Mr.Thunderbird Quote Link to comment Share on other sites More sharing options...
ricktendo Posted November 2, 2007 Share Posted November 2, 2007 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 valueName it FileName and the Value data: should be the name of the file in %Systemroot%\ShellNewHere is mine i did with a INF addon file Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted November 2, 2007 Author Share Posted November 2, 2007 (edited) Not working Still the same Edited November 2, 2007 by Mr.Thunderbird Quote Link to comment Share on other sites More sharing options...
ricktendo Posted November 2, 2007 Share Posted November 2, 2007 Upload me the .vpk file you want and let me see what i can do Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted November 2, 2007 Author Share Posted November 2, 2007 unrar New.rar Quote Link to comment Share on other sites More sharing options...
ricktendo Posted November 2, 2007 Share Posted November 2, 2007 I think I know your problem... .VPK file has no name, here is where .txt file gets its name for the New menuI need a location for the icon and also the desired name Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted November 2, 2007 Author Share Posted November 2, 2007 MANY thanks Rick, THAT was the problem, got it sorted out, many thanks man!! :D Quote Link to comment Share on other sites More sharing options...
ricktendo Posted November 2, 2007 Share Posted November 2, 2007 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 Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted November 2, 2007 Author Share Posted November 2, 2007 I know how to copy files. making dir's and stuff like that with batch files Also, I can pack it in a .EXE file But I would be very happy if you could ADD the commands for registry ? Give me a second, I will sniff out the strings it edits Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted November 2, 2007 Author Share Posted November 2, 2007 (edited) Also rick, the "name" is in ""HKEY LOCAL" VKP_AUTO_FILE"->"SHELL", "default" it should be called "VKP Patch" many thanks Edited November 2, 2007 by Mr.Thunderbird Quote Link to comment Share on other sites More sharing options...
ricktendo Posted November 2, 2007 Share Posted November 2, 2007 Those are screenshots, I need the .REG files (oh and what name did you give it?) Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted November 2, 2007 Author Share Posted November 2, 2007 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,\ 00Windows 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! Quote Link to comment Share on other sites More sharing options...
Mr.Thunderbird Posted November 3, 2007 Author Share Posted November 3, 2007 @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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.