daddydave Posted January 23, 2007 Share Posted January 23, 2007 Using Addon Maker for nLite to create addons for HFSLIP, I have several addons that use a custom batch file as the installation program. They all work fine after I correct simple user errors, but I have one addon in particular that has a line likeREGEDIT /S IZArcFileAssocs.regThis doesn't seem to be working, now I am wondering if REGEDIT can even run in an addon. Is it possible? (I know about REG.EXE so I'll use if I have to, assuming that works) Link to comment Share on other sites More sharing options...
Ausmith1 Posted January 23, 2007 Share Posted January 23, 2007 Are you sure that your REG file is valid?For instance having anything other than "Windows Registry Editor Version 5.00" in the first line will cause REGEDIT to fail without any error popping up. It's happened to me before when I added a comment on the first line rather then further on down the file... Link to comment Share on other sites More sharing options...
daddydave Posted January 23, 2007 Author Share Posted January 23, 2007 Are you sure that your REG file is valid?Yep, it does what I want if I double click on it manually.I think I'll take out the /S for troubleshooting purposes and see if I get any useful errors. Link to comment Share on other sites More sharing options...
Tomcat76 Posted January 23, 2007 Share Posted January 23, 2007 If you're using Win2K, you need full paths.%SYSTEMROOT%\REGEDIT /S IZArcFileAssocs.reg Link to comment Share on other sites More sharing options...
daddydave Posted January 23, 2007 Author Share Posted January 23, 2007 If you're using Win2K, you need full paths.%SYSTEMROOT%\REGEDIT /S IZArcFileAssocs.regAh, thank you! Link to comment Share on other sites More sharing options...
tommyp Posted January 23, 2007 Share Posted January 23, 2007 You can put reg files in the HFSVCPACK folder too. Link to comment Share on other sites More sharing options...
daddydave Posted January 23, 2007 Author Share Posted January 23, 2007 You can put reg files in the HFSVCPACK folder too.I know, but keeping it with the app seemed like the right thing to do -- for now. Link to comment Share on other sites More sharing options...
daddydave Posted January 23, 2007 Author Share Posted January 23, 2007 (edited) tomcat76:Not only did the full path to REGEDIT fix my addon problem, you got me thinking I should put the full path to REGEDIT in my CMDLINES.TXT batch file as well, and this fixed a hair-pulling issue with my HKCU.reg..So double thanks!Thanks to all for the other suggestions, too. Edited January 23, 2007 by daddydave Link to comment Share on other sites More sharing options...
Tomcat76 Posted January 27, 2007 Share Posted January 27, 2007 TommyP told me this a couple of months ago. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now