Problem:
Some applications will not complete the DIA packaging process, because they require restart by the end of the packaging process. Also Restart or Reboot is not available after extending a package.
Resolution:
There are several ways to workaround this problem
- Avoid the restart and close a package and see if the app will work.
- During the packaging process certain applications might require some prerequisites. These prerequisites very often require restart. Looking at add/ remove programs it is easy to verify what other software is installed during the packaging process. These applications are most likely the applications that require restart. To avoid this problem it is necessary to install these prerequisites on the Flexapp Packaging Console and on the base image.
- This feature "Reboot after Extending a Package" will be available in ProfileUnity 6.8.5
In ProfileUnity 6.7.0 and earlier:
- During the packaging process pull the key out of Runonce and run by hand
- Look at HKCU RunOnce and HKLM RunOnce if there is a command here remove it and record it.
- Don’t reboot, Close the package
- Roll back snap
- Login, extend package, and run the runonce command by hand.
- Another Location is PendingFileRenameOperations
- Delete the value from: HKLM\System\ControlSet001\Control\Session Manager after intallation and before closing the extending of the package.
- (The value may exist in "ControlSet" or "ControlSet002" etc.
In ProfileUnity 6.7.1 and later:
In the capture process there is a "Reboot" button. When application is asking for restart click the button. After restart log back in to the desktop with same user name and FPC should resume capture process.
Example:
Note: if the VHD package for the DIA application is on the network which require credentials the resume feature might fail. Please place the DIA vhd package on local disk. Than after capture process this DIA could be moved to a different location. (Delete package>Move files>Import Package)
Note: The "Extend" package will have reboot available in ProfileUnity 6.8.5
Product: ProfileUnity
Product Version: All