Installation works fine locally, doesn't work when deployed from the K1000
I have an MSI installation that I'm trying to deploy (PowerCampus by Ellucian). I wrote a batch file to install the software quietly and tested the install locally. The install went fine, so I zipped up the install files and uploaded it to the KBox. I then tested the deployment from the KBox to another machine. That deployment didn't work as it was supposed to. It copied the files over to the program files folder, but didn't create any shortcuts or put the software into Programs and Features. After fighting with that for a while, I decided to try another tactic. I put the installation files out on a network drive and created another batch file to run the installer from that drive. I tested it locally (ran the batch file from my desktop) and again it worked. When I tested it from the KBox I recieved an error stating "This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package.". Ok, fine. So I created an updated another batch script to download the files locally to the machine and run the setup. Again, all tested fine locally. When deployed from the KBox, I again am left with no shortcuts or Programs and Features entry.
I am at the end of my rope. What I am I missing?
Answers (0)
Be the first to answer this question
mkdir C:\PCInstall
start /wait xcopy P:\PCInstall\*.* C:\PCInstall /s/y
start /wait msiexec /i C:\PCInstall\sqlncli_x64.msi /qn
start /wait msiexec /i C:\PCInstall\powercampus.msi /qr
It makes the folder fine, and then attempts to execute the first MSI file. Problem is that the folder that was created is empty as line two failed.
As a test I eliminated line two and had the script run the files directly from the P:\PCInstall\ directory. I then received the "This installation package could not be opened" error again. Any thoughts? - scragman 11 years ago
I think I've got it. Broke the batch file down into two (making the directory in one and running the apps in another), and made the xcopy a 'launch application' command with the right params. Did a test deploy and it seemed to work. - scragman 11 years ago