Software Deployment Question
Can SCCM 2012 launch a program during installation? (WinSQL 5.5)
Answer Chosen by the Author
The install will be running in the system context, and therefore won't be able to perform the other actions in the batch file that you want to run in the user context.
Assuming you have a site licence, and every user of the target machine will have access to it then there are a few ways to approach this. All of these would remove the need to launch the application first as you'd create the folder structure as part of the process.
The 'pure' MSI packaging approach would be to use an customisation file with the MSI (MST) to include the file with the package (either in the INIFILE table or as a flat file) and use ActiveSetup to populate this for all users.
Running the MSI from a batch file means that you lose some of the functionality of SCCM with regard to the handling of MSI files.
Other methods to consider are:
-Per-User SCCM package to populate the file
-Login script that uses 'if not exist' then copy to populate the file
-Script utilised by ActiveSetup to populate the file.
Hope that gives you a few pointers,