Im trying to create a distribution package for a program called "Charles". It's a web proxy program.
The setup file is an executable, but I am having to create a batch file to be able to add the license information when deploying.
Here is the batch file I created:
start /wait file://%3ccore%3e/packages/WindowsXP/Charles/v3.2.3/charles_setup.exe /S
xcopy "\\<core>\packages\windowsxp\charles\v3.2.3\charles.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs" /Y
md "C:\Documents and Settings\%username%\Application Data\Charles"
xcopy "\\spark\packages\windowsxp\charles\v3.2.3\charles.config" "C:\Documents and Settings\%username%\Application Data\Charles" /Y
Heres the problem.
When running the batch file as a scheduled task (run from source), it will run the install of Charles and then copy the files in the appropriate locations (charles.config is the license file). After the scheduled task is complete I will launch the program, but it doesnt see that the config/license file. Although if I execute the batch file locally on the computer as the user it works correctly. The program will open and see the license.