crazyjust Posted October 21, 2008 Share Posted October 21, 2008 Hi I am a new user with nlite. I am using xp pro sp2 and i would like to know if there is anyway I could get a text file installed to the desktop through this installation. Thank you for your time Link to comment Share on other sites More sharing options...
HowdyDoody Posted October 21, 2008 Share Posted October 21, 2008 No Link to comment Share on other sites More sharing options...
johnhc Posted October 21, 2008 Share Posted October 21, 2008 crazyjust,Sure there is. Probably the easiest is to use WPI (see forum a couple below nLite). First create an account using nLite Unattended section and set it to autologon. The account will be logged on in the final reboot of the install. WPI will then run and you can copy what ever you like to the desktop or any other place. I do this on each install. There are other methods that may have an inherent problem with the path structure not being create yet due to the account initialization not being complete. If you are using a virtual system (e.g. VirtualBox, VirtualPC) then you could do some experiments and let us all know what works and what doesn't. RunOnce (Unattended again) may work. You can place you file on the CD during the Bootable ISO section (see Explore at bottom). You can create a structure like this in your source root:$OEM$\$DOCS\account-name\DeskTop\file-name. You would replace account-name and file-name with what you want. If this works, then the file will be on the desktop when the install is complete.It would be nice if you could let us know what works.Enjoy, John. Link to comment Share on other sites More sharing options...
Lodoss Posted October 22, 2008 Share Posted October 22, 2008 Hello crazyjust,Actually, just to add to what Johnhc said, if you don't mind other users having that same file on their desktop as well, you can simply add this folder to the root of your Windows Source directory (the one that nLite uses to create its files):$OEM$\$Docs\All Users\Desktop...and just add your textfile to that directory. When your nLited Windows installation finishes, I think you will find the file on your desktop.If you already have a username in mind, and try the following directory structure:$OEM$\$Docs\Username\Desktop...you may find that windows will create a folder with that particular username in "Documents and Settings", but if your Admin name is the same as the user name you'd like to use (since we can do so in nLite), you may getDocuments and Settings\UsernameDocuments and Settings\Username.WorkGroup...like Johnhc said, there may be a problem because Windows didn't create the file structures yet when Windows gets to the $OEM$ folder (account initialization not complete), but you can give it a shot if you'd like.There may be a setting you have to enable in nLite to be able to use the $OEM$ folder though - I'm not sure anymore.Good luck in your quest for an answer! Link to comment Share on other sites More sharing options...
johnhc Posted October 24, 2008 Share Posted October 24, 2008 crazyjust and Lodoss,I tried this and it does indeed work but had unintended consequences. When my install was complete, I had my file on C:\Documents and Settings\account-name\Desktop,but the files for my account were all of the form C:\Documents and Settings\account-name.computer-name. This was not what I intended. I assume Windows install saw the account-name level in the Documents and Settings directory and created a new name. I am afraid the same thing will happen to the All User account also. I tried placing a file in the All User Desktop folder and it does not show up on my DT. Here is a link explaining the $OEM$ folder:MSFN $OEM$ DiscussionYou can create the folder if it does not exist or add your directories to it if it does. There is no special instruction to nLite. NLite will create the folder if you don't.I have not tried the Runonce exit but I am also afraid it will have the same bad effect - hope someone will try, however. I do place files in the Windows and System32 folders using the $OEM$ folder but will stick to WPI for copying files and folders to my DT.Enjoy, John. Link to comment Share on other sites More sharing options...
Geej Posted October 25, 2008 Share Posted October 25, 2008 Alternative solution:use 7zsfx method (or winrar method)Below is 7zsfx method. Instruction on using is hereYour config.txt in this case would be ;!@Install@!UTF-8!AutoInstall="ai"GUIMode="2"OverwriteMode="0"InstallPath="%userprofile%\\Desktop";!@InstallEnd@!The above method will put whatever textfile (that u put in bin folder ) on your desktop. The trick is, u need to run this exe file in GUIRUNONCE. During OOBE stage, u will be prompt for username creation. U put the 1st user as yourself and login yourself first (if there are multiple user on this computer) so that the exe file will extract your textfile to your desktop. Link to comment Share on other sites More sharing options...
fdv Posted October 26, 2008 Share Posted October 26, 2008 Put README.TXT into your i386 directoryReplace the contents of your AXANT5.INF file with this:------------[Version]signature="$Windows NT$"ClassGUID={00000000-0000-0000-0000-000000000000}AdvancedINF=2.5LayoutFile=layout.inf[DestinationDirs]file.copy.dt = 16409 ; All Users\Desktop[SourceDisksNames]1 = "Windows 2000 CD",\cdrom_ip.5,,\i386[SourceDisksFiles]readme.txt = 1[DefaultInstall]CopyFiles = file.copy.dt[file.copy.dt]readme.txt [Strings]I use this in my fileset, so I know it works. Link to comment Share on other sites More sharing options...
HowdyDoody Posted October 26, 2008 Share Posted October 26, 2008 Get real! That's an awful lot of trouble to overcome a couple of clicks. Copy it to your 'My Documents". Right click it, and send it to desktop (that is, if you included it on your CD).Come on! Use nLite as it was intended to be used. 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