Ive seen quite a lot of posts on this forum about this issue. However, my issue is quite a bit different unless I just havent found the right one.
Expected
Start installer
Give admin privleges
Add in files
Add in system environment variables
Run batch file
Have that batch file run another batch file
Finish Install successfully
Actual:
Start installer
Give admin privleges
Add in files
Add in system environment variables
Run batch file
Have that batch file run another batch file
Error there was an issue with the installer ........
When I check the event viewer for the issue. It states:
Product: ShortCutBug -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action Start_DCA, location: C:\WINDOWS\Installer\MSIC91E.tmp, command: /EnforcedRunAsAdmin /RunAsAdmin "C:\Program Files (x86)\Tester\ShortCutBug\src\StartDCABatch.bat"
But checking everything before it reverts it did exactly what its suppose to do. Other information that may help. This works exactly as expected on the computer I'm developing it on. And this install is on just a fresh computer. Any idea why this happens?