hahahafr Posted July 10, 2009 Posted July 10, 2009 (edited) Hi,I recently created a nlited windows-xp-sp3-fra cd. All the modifications I made are succesfully applied, except the gui run once cmds integrated in nlite.Here are my cmds :COPY /Y /V %SOURCE%\PLUS\wpa.dbl %SYSTEMROOT%\system32regedit /s %SOURCE%\PLUS\scnotificationsfix.regregedit /s %SOURCE%\PLUS\ieconnectionsfix.regregedit /s %SOURCE%\PLUS\cmdpromptmenufix.reg%SOURCE%\PLUS\toggleql 1%SYSTEMDRIVE%\Program Files\Internet Explorer\IEXPLORE.EXE" "http://www.microsoft.com/genuine/validate/?displaylang=frIs there something wrong with this cmds ? They don't produce any effect at all on the first login. Edited July 10, 2009 by hahahafr
johnhc Posted July 10, 2009 Posted July 10, 2009 hahahafr, the %Source% variable has a trailing backslash (\), so now you have two. %SYSTEMDRIVE% does not have the trailing backslash, so I would have expected the last command to have worked. Oops, just noticed you have screwed up quotes on the last one. If you have more questions/problems, please attach (not paste) your Last Session.ini. Make sure to always start with a fresh copy of your CD files/folders, do all your work in one nLite session and integrate only one SP. Please report when you have a solution, so others can benefit. Enjoy, John.
hahahafr Posted July 10, 2009 Author Posted July 10, 2009 (edited) Yes I just noticed that nlite use the SourcePath String located in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup and this string has a backslash.The code used in NLITE.CMD :for /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%i::your commands using %SOURCE%EXITGoing to try with the quotemarks and the backslash problems fixed. Edited July 10, 2009 by hahahafr
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now