I think I will forget about copying the registry but could someone help me with this loop so I can show a bar as it is copying the files .
I stopped as I didn't want to mess up what I have so far as it works . lol
EDIT
Is there a better way to copy all the files then what I have with each link ?
Code:
; Here is a working example that demonstrates how a Progress window can be
; overlayed on a SplashImage to make a professional looking Installer screen:
IfExist, C:\WINDOWS\system32\ntimage.gif, SplashImage, C:\WINDOWS\system32\ntimage.gif, A,,, Copying
Loop,
RegRead, OutputVar, HKEY_CURRENT_USER, Identities, Last User ID
FileCopy,%USERPROFILE%\Local Settings\Application Data\Identities\%OutputVar%\Microsoft\Outlook Express\Deleted Items.dbx,%a_workingdir%
FileCopy,%USERPROFILE%\Local Settings\Application Data\Identities\%OutputVar%\Microsoft\Outlook Express\Drafts.dbx ,%a_workingdir%
FileCopy,%USERPROFILE%\Local Settings\Application Data\Identities\%OutputVar%\Microsoft\Outlook Express\Folders.dbx ,%a_workingdir%
FileCopy,%USERPROFILE%\Local Settings\Application Data\Identities\%OutputVar%\Microsoft\Outlook Express\Inbox.dbx ,%a_workingdir%
FileCopy,%USERPROFILE%\Local Settings\Application Data\Identities\%OutputVar%\Microsoft\Outlook Express\Offline.dbx ,%a_workingdir%
FileCopy,%USERPROFILE%\Local Settings\Application Data\Identities\%OutputVar%\Microsoft\Outlook Express\Outbox.dbx ,%a_workingdir%
FileCopy,%USERPROFILE%\Local Settings\Application Data\Identities\%OutputVar%\Microsoft\Outlook Express\Pop3uidl.dbx ,%a_workingdir%
FileCopy,%USERPROFILE%\Local Settings\Application Data\Identities\%OutputVar%\Microsoft\Outlook Express\saves.dbx ,%a_workingdir%
FileCopy,%USERPROFILE%\Local Settings\Application Data\Identities\%OutputVar%\Microsoft\Outlook Express\Sent Items.dbx ,%a_workingdir%
FileCopy,%USERPROFILE%\Local Settings\Application Data\Identities\%OutputVar%\Microsoft\Outlook Express\folders.avx ,%a_workingdir%
Loop, %windir%\system32\*.*
{
Progress, %a_index%, %a_loopfilename%, Installing..., Draft Installtion
Sleep, 50
IfEqual, a_index, 100, break
}
Thank you for the help .