Jump to content

Unattended files


Recommended Posts

I have a few folders that i would like to become exe files

so all the content thats in the folder can install/register unattended create proper shortcuts

(it cuts down install time)

so i don't have 2 manually replace the files 1x1

but i don't know how to run scripts nor make exe files

thats where you guys come in

Can i please get some assistance

Link to comment
Share on other sites


Hover

Movie Maker

Msn Gaming Zone

Reshack

these files are in folders already i want in them in C:\Program Files

and i want to make short cuts for them

most files above i resource hacked the icons so i need it to overwite the original short cuts

now i need the correct command parameters

all bat files i want to reside in C:\

also i have like 48 reg files i would like to add to this pack

Regclean & Wintop i want there shortcuts in the system tools folder

and DeskMenu short cut in the start up folder

everything else will be default

Edited by PROBLEMCHYLD
Link to comment
Share on other sites

Regedit /s 60SP1.reg
Regedit /s DosWindow.reg
Regedit /s ADODB.reg
Regedit /s ADVANCED.reg
Regedit /s Attrib.reg
Regedit /s cabextract.reg
Regedit /s CACHE1.reg
Regedit /s CACHE2.reg
Regedit /s CACHE3.reg
Regedit /s CACHE4.reg
Regedit /s CD52DWRD.reg
Regedit /s CD52HEX.reg
Regedit /s Changename.reg
Regedit /s Cpu.reg
Regedit /s Domain_blocklist.reg
Regedit /s DragDrop.reg
Regedit /s Edit.reg
Regedit /s EDITDESK.reg
Regedit /s EditReg.reg
Regedit /s End.reg
Regedit /s Filenames.reg
Regedit /s Google.reg
Regedit /s Hearts.reg
Regedit /s Icon.reg
Regedit /s IECACH9X.reg
Regedit /s LARGDWRD.reg
Regedit /s LARGHEX.reg
Regedit /s LAYOUT.reg
Regedit /s Log.reg
Regedit /s MAXCACHE.reg
Regedit /s NEWTCP.reg
Regedit /s NOTEPAD.reg
Regedit /s OpenWith.reg
Regedit /s Scheme2000.reg
Regedit /s SEND.reg
Regedit /s SERVER.reg
Regedit /s tcp.reg
Regedit /s Unattend.reg
Regedit /s Uncheck.reg
Regedit /s VALID_OK.reg
Regedit /s WindowAnimations.reg

Now i need to add the exe files with short cuts and a couple of inf files

thanks guys

Edited by PROBLEMCHYLD
Link to comment
Share on other sites

these files don't copy to the %windir%\System beacuse they are in use

how do i force them?

browseui.dll

browselc.dll

MYDOCS.DLL

SHELL32.DLL

SYNCUI.DLL

That's where inf + iexpress comes handy as this will use wininit to replace at reboot the files that can't be copied because they are in use.

Link to comment
Share on other sites

Try this as an .inf file (No guarantee it will work properly as untested) :

[version]
signature="$CHICAGO$"

[DefaultInstall]
CopyFiles = copy.files
RegisterOCXs=Register.files

[copy.files]
browseui.dll,4
browselc.dll,4
MYDOCS.DLL,4
SHELL32.DLL,4
SYNCUI.DLL,4

[Register.files]
%11%\browseui.dll
%11%\browselc.dll
%11%\MYDOCS.DLL
%11%\SHELL32.DLL
%11%\SYNCUI.DLL

[DestinationDirs]
copy.files = 11

[SourceDisksNames]
81=,"",1

Then create an installer with IExpress (very easy, follow the prompts) in which you include the files you want to copy and the inf file which will become the setup command of the installer

For your registry files, you may also want to convert them into inf format and create a new section for them in your above inf.

You can convert reg to inf quite easily with Willy Pad :

http://www.chez.com/snoopy81/en/willy.htm

Edited by eidenk
Link to comment
Share on other sites

If you remove the ,4 from each line it should maybe process the files normally.

I have added that as it is a flag that is supposed to force overwrite in any circumstances but I certainly did put it at the wrong place or used a slightly wrong syntax.

Why I did put it is because I guessed the files you want to install will maybe not be of a newer version than the targets, and by default the installer will not replace them if they are not of a newer version I believe.

Look into all that and experiment a bit just like I do ATM. Have some PROBLEMCHYLD to test them for you.

And search the forum for downloads links for inf doc. There are some.

Link to comment
Share on other sites

If you remove the ,4 from each line it should maybe process the files normally.

I have added that as it is a flag that is supposed to force overwrite in any circumstances but I certainly did put it at the wrong place or used a slightly wrong syntax.

Right, it's a wrong syntax ;)

To get what you were thinking about, replace ",4" by ",,6" (two comas, 6 instead of 4 to make it silent)

Another detail PROBLEMCHYLD, you posted a batch a few posts ago with multiple COPY then REGSVR /U then REGSVR /I on the same fileset : you should change the order to be REGSVR /U then COPY then REGSVR /I.

It becomes :

regsvr32 /u /s  %windir%\System\browseui.dll
regsvr32 /u /s %windir%\System\browselc.dll
regsvr32 /u /s %windir%\System\CTL3D32S.DLL
regsvr32 /u /s %windir%\System\CTL3D.DLL
regsvr32 /u /s %windir%\System\CTL3DV2.DLL
regsvr32 /u /s %windir%\System\gdiplus.dll
regsvr32 /u /s %windir%\System\HLP95EN.DLL
regsvr32 /u /s %windir%\System\HOTPLUG.DLL
regsvr32 /u /s %windir%\System\IOSCLASS.DLL
regsvr32 /u /s %windir%\System\LAYOUT.DLL
regsvr32 /u /s %windir%\System\MARSCORE.DLL
regsvr32 /u /s %windir%\System\MMCI.DLL
regsvr32 /u /s %windir%\System\MYDOCS.DLL
regsvr32 /u /s %windir%\System\Psapi.Dll
regsvr32 /u /s %windir%\System\SETUP4.DLL
regsvr32 /u /s %windir%\System\SETUPX.DLL
regsvr32 /u /s %windir%\System\SHDOCLC.DLL
regsvr32 /u /s %windir%\System\SHELL32.DLL
regsvr32 /u /s %windir%\System\STI_CI.DLL
regsvr32 /u /s %windir%\System\SYNCUI.DLL
regsvr32 /u /s %windir%\System\unicows.dll

copy browseui.dll %windir%\System
copy browselc.dll %windir%\System
copy CTL3D32S.DLL %windir%\System
copy CTL3D.DLL %windir%\System
copy CTL3DV2.DLL %windir%\System
copy gdiplus.dll %windir%\System
copy HLP95EN.DLL %windir%\System
copy HOTPLUG.DLL %windir%\System
copy IOSCLASS.DLL %windir%\System
copy LAYOUT.DLL %windir%\System
copy MARSCORE.DLL %windir%\System
copy MMCI.DLL %windir%\System
copy MYDOCS.DLL %windir%\System
copy Psapi.Dll %windir%\System
copy SETUP4.DLL %windir%\System
copy SETUPX.DLL %windir%\System
copy SHDOCLC.DLL %windir%\System
copy SHELL32.DLL %windir%\System
copy STI_CI.DLL %windir%\System
copy SYNCUI.DLL %windir%\System
copy unicows.pdf %windir%\System
copy unicows.dll %windir%\System

regsvr32 /i /s %windir%\System\browseui.dll
regsvr32 /i /s %windir%\System\browselc.dll
regsvr32 /i /s %windir%\System\CTL3D32S.DLL
regsvr32 /i /s %windir%\System\CTL3D.DLL
regsvr32 /i /s %windir%\System\CTL3DV2.DLL
regsvr32 /i /s %windir%\System\gdiplus.dll
regsvr32 /i /s %windir%\System\HLP95EN.DLL
regsvr32 /i /s %windir%\System\HOTPLUG.DLL
regsvr32 /i /s %windir%\System\IOSCLASS.DLL
regsvr32 /i /s %windir%\System\LAYOUT.DLL
regsvr32 /i /s %windir%\System\MARSCORE.DLL
regsvr32 /i /s %windir%\System\MMCI.DLL
regsvr32 /i /s %windir%\System\MYDOCS.DLL
regsvr32 /i /s %windir%\System\Psapi.Dll
regsvr32 /i /s %windir%\System\SETUP4.DLL
regsvr32 /i /s %windir%\System\SETUPX.DLL
regsvr32 /i /s %windir%\System\SHDOCLC.DLL
regsvr32 /i /s %windir%\System\SHELL32.DLL
regsvr32 /i /s %windir%\System\STI_CI.DLL
regsvr32 /i /s %windir%\System\SYNCUI.DLL
regsvr32 /i /s %windir%\System\unicows.dll

And i removed the regsvr lines on unicows.pdf...

++

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...