I want to execute a .bat file which will install a at tasks (similar to cron jobs but this is for windows) , I can sucessfully do this using "Add predefined custom action" under Install custom action , this works fine in windows xp but not on windows 2k , for some reason the .bat file execution gets stuck after executing the first line . Is the another way to execute a .bat file on install /uninstall ??. Also is a way to install cron jobs / schduled tasks using ai.
The contents of the .bat file are as follows
Code: Select all
regsvr32 /s atl.dll
regsvr32 /s gathhelp.dll
:: Rotate log every 6 hrs
for %%t in (0 6 12 18) do at %%t:15 /every M,T,W,Th,F,S,Su c:\gather\rotatelog
Any help will be appriciated .