RogueSpear Posted September 19, 2005 Share Posted September 19, 2005 I've run across this problem a couple of times now where an installation routine that uses the windows installer will trigger DEP. DEP then produces a dialog box in which you have to acknowledge the event.I know you can disable DEP by editing the BOOT.INI file, but what I would like to do is make this setting integrated into my installation. So far as I can see there is no BOOT.IN_ file in the i386 directory. And doing searches I haven't been able to find any entries within the .hiv files. My gut tells me there must be a way somehow to get around the default "optin" in favor of "alwaysoff".Any ideas? Link to comment Share on other sites More sharing options...
nfm Posted September 19, 2005 Share Posted September 19, 2005 Add this to WINNT.SIF[SetupData] OSLoadOptionsVar="/noexecute=AlwaysOff"That's what I use, tested to work, enjoy . Link to comment Share on other sites More sharing options...
RogueSpear Posted September 19, 2005 Author Share Posted September 19, 2005 It took 2.2 seconds for me to get an answer. Thanks! Seeing that this isn't documented in the deploy.chm, I don't feel so bad for not finding it. Couldn't find a thing about it on Microsoft's site either. They must really not want you to know about this one. Link to comment Share on other sites More sharing options...
nfm Posted September 19, 2005 Share Posted September 19, 2005 Maybe not in XP SP2 but in x64 Edition it is documented in deploy.chm:OSLoadOptionsVar = {"/noexecute=AlwaysOn" | "/noexecute=AlwaysOff" | "/noexecute=OptIn" | "/noexecute=OptOut"}When Setup processes this entry, the NoExecute option in Boot.ini is modified accordingly. Link to comment Share on other sites More sharing options...
Gee Posted September 19, 2005 Share Posted September 19, 2005 I never got that method to work. Maybe I did something wrong. I ended up using, bootcfg /raw /id 1 "/noexecute=AlwaysOff /NOPAE /fastdetect"in my cleanup.cmd file and after a reboot all is well Link to comment Share on other sites More sharing options...
RogueSpear Posted September 22, 2005 Author Share Posted September 22, 2005 Ok, the WINNT.SIF file method didn't work for me either. BUT, it appears as though DEP isn't yet functional at the svcpack.inf stage of setup.Through lots of arm twisting and fiddling around, I actually managed to make a perfect switchless silent installer of Adobe Audition. Perfect except that, just like the original installer, it generates a DEP event. But not from svcpack.inf, which is where I install about 98% of everything anyway.So my immediate problem was solved and if I do end up needing to diable DEP, I'll use the command line provided by Gee. Thank you to everyone who helped! Link to comment Share on other sites More sharing options...
nfm Posted September 22, 2005 Share Posted September 22, 2005 Yeh, looks like winnt.sif method only works with x64 Edition! That's why it is documented in deploy.chm. Thanks Gee for command, will use it on 32-bit XP 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