Venevus Posted November 20, 2005 Share Posted November 20, 2005 I need to know if there's a way to use the INSTALL.LOG file to make a script for adaware. the reason i ask is because i know how to "install" ad aware silently and into a custom directory (using the /s and /x switches) but the /x switch merely unpackages adaware into the directory i want, but i also need it to make shortcuts and the program group.to get around this i tried a batch script which copies those over...@echo offecho this will copy ad aware's links to the program groupecho and the desktopecho.copy "%systemdrive%\Install\AdAwareSE\Ad-Aware SE Personal.lnk" "%systemdrive%\Documents and Settings\All Users\Desktop\Ad-Aware SE Personal.lnk" /Yxcopy "%systemdrive%\Install\AdAwareSE\Lavasoft Ad-Aware SE Personal" "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Lavasoft Ad-Aware SE Personal" /E /C /I /Q /G /H /ycopy "%systemdrive%\Install\AdAwareSE\INSTALL.LOG" "%systemdrive%\INSTALL.LOG" /Ycopy "%systemdrive%\Install\AdAwareSE\INSTALL.LOG" "%systemdrive%\utilities\Lavasoft\Ad-Aware SE Personal\INSTALL.LOG" /Yand simply linked that to my RUNONCEex.cmd filei tested it out on my own computer and it worked just fine, but when i went to test in on a fresh install, it would copy those to the all users folder, but not show up for the current user or any of the others users desktops and program file groups i'm probably doing something wrong here but i'd just like it to be a clean install without too much mess like this Link to comment Share on other sites More sharing options...
MHz Posted November 21, 2005 Share Posted November 21, 2005 An installer just extracts Adaware to the HDD. No runtime, no registry entries...All Users should show for all users.Try this@echo offecho this will copy ad aware's links to the program groupecho and the desktopecho.copy /y "%systemdrive%\Install\AdAwareSE\Ad-Aware SE Personal.lnk" "%AllUsersProfile%\Desktop\Ad-Aware SE Personal.lnk"xcopy "%systemdrive%\Install\AdAwareSE\Lavasoft Ad-Aware SE Personal" "%AllUsersProfile%\Start Menu\Programs\Lavasoft Ad-Aware SE Personal" /E /C /I /Q /G /H /ycopy /y "%systemdrive%\Install\AdAwareSE\INSTALL.LOG" "%systemdrive%\INSTALL.LOG"copy /y "%systemdrive%\Install\AdAwareSE\INSTALL.LOG" "%systemdrive%\utilities\Lavasoft\Ad-Aware SE Personal\INSTALL.LOG" Link to comment Share on other sites More sharing options...
Venevus Posted November 22, 2005 Author Share Posted November 22, 2005 hey thanks! i tested that out and it works perfect, to think all i needed was a change in syntax 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