I am in the process of incorporating a token based activation script into the OS Deplyoment process.
Our image contains a provision to look for and run a file called "custom.bat" if present. It provides us with an option to customize and install software after the OS is installed.
I am currently able to run the script to activate the OS, which works fine.
The deployment share contains a scripts folder, which is where I have added the Leaf Certificate and Digital License for Windows 7 Enterprise.
I have created a subfolder called "Office2010Activation" and placed all of the necessary files in it.
My question is how to properly call the batch file within it. I tried to use relative paths and it cannot find the path specified.
The batch file to activate Office 2010 must be called with this syntax: %windir%\SYSWOW64\cmd.exe /c