Jump to content

adaware se personal 1.06 script file?


Venevus

Recommended Posts

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 off

echo this will copy ad aware's links to the program group
echo and the desktop
echo.

copy "%systemdrive%\Install\AdAwareSE\Ad-Aware SE Personal.lnk" "%systemdrive%\Documents and Settings\All Users\Desktop\Ad-Aware SE Personal.lnk" /Y
xcopy "%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 /y
copy "%systemdrive%\Install\AdAwareSE\INSTALL.LOG" "%systemdrive%\INSTALL.LOG" /Y
copy "%systemdrive%\Install\AdAwareSE\INSTALL.LOG" "%systemdrive%\utilities\Lavasoft\Ad-Aware SE Personal\INSTALL.LOG" /Y

and simply linked that to my RUNONCEex.cmd file

i 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 :wacko:

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


An installer just extracts Adaware to the HDD. No runtime, no registry entries...

All Users should show for all users.

Try this

@echo off

echo this will copy ad aware's links to the program group
echo and the desktop
echo.

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 /y
copy /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

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...