MSI, App-V, SCCM, Appsense, Citrix. This blog contains hints and tips on these technologies. Primarily it is an online notebook of items that I may need to refer to in the future, or things I constantly forget!
Friday, July 21, 2017
wscript exit code errorlevel 9009
The same script can end with different command box errorlevel values between cscript and wscript. The command box %errorlevel% after a wscript command will likely be 9009. This is because the command interpreter immediately becomes ready for the next command even if the script is still running. It is not able to receive the exit code from the wscript interpreter. cscript on the otherhand waits for the script to exit before the command box is available again. In that case the %errorlevel% command reflects the vbscript exit code.
echo %errorlevel%
Friday, July 7, 2017
Windows 10 File Explorer Quick Access - Working on it
Bit of a noddy one this.
Problem:
Attempting to launch File Explorer in Windows 10 results in a window with the "Working on it" status which then hangs and then the explorer shell completely crashes and initializes.
Solution:
Reboot. Launch File Explorer by entering a known folder name in the search bar. This launches File Explorer in a specific folder.
In View_Options_Change folder and search options:
Change the Open File Explorer to: setting to point to This PC.
Click Clear and Restore Defaults.
Problem:
Attempting to launch File Explorer in Windows 10 results in a window with the "Working on it" status which then hangs and then the explorer shell completely crashes and initializes.
Solution:
Reboot. Launch File Explorer by entering a known folder name in the search bar. This launches File Explorer in a specific folder.
In View_Options_Change folder and search options:
Change the Open File Explorer to: setting to point to This PC.
Click Clear and Restore Defaults.
Friday, June 30, 2017
Enable Browser Controls
Enable Browser Controls is activated automatically by the sequencer if they are detected. Watch out though. It is important to understand this concept described by Tim Mangan here
http://www.tmurgent.com/TMBlog/?p=2240
Briefly, Tim explains that if IE is launching with a connection group to supply visualized components then override settings on the registry keys need to be changed to merge. Otherwise one of the app-v packages will work while the rest do not.
Thursday, June 29, 2017
Teradata Tools and Utilites (TTU) 15.10
First crack looked fine until the SQL Assistant crashed on launch. Much head scratching until the realization that the shortcut was pointing to startup.exe but the actual process was SQLA.EXE. Launching SQLA.EXE in the bubble worked fine, so the shortcut was successfully changed from startup.exe to SQLA.EXE. startup.exe must be some kind of launcher stub used for unknown reasons and incompatible with App-V 5.
ODBC DSNs may be required so watch out for those.
While troubleshooting, launching during sequencing or use of the PVAD caused this error during the save operation:
The group or resource is not in the correct state to perform the requested operation. (Exception from HRESULT: 0x8007139F
This was tracked down to the TTUProductList shortcut with an invalid path to its icon file. Correct the icon path to point to a valid file resource and check that the file resources do not have a bad path to the original icon file. The path seen in the sequencer window had an invalid .. (2dots) in the tree which looked like it could cause trouble.
Tuesday, June 13, 2017
Inmagic DBTextWorks 13 needs PVAD
Inmagic DBTextWorks 13 needs to have the PVAD for a successful sequence. Using the defaults and sequencing to the VFS results in an error. During launch the application checks for the presence of critical files and throws an error if it does not find them. A similar error with a normal path could be generated on a conventional install by renaming the dbtext32.cmx file. The error from the application showing the strange path led to the idea that the PVAD might correct the problem.
https://lucidea.com/inmagic/dbtextworks/
PVAD
Captain! She's breaking up. ENGAGE PVAD !
Launch the sequencer with the -EnablePVADControl parameter
http://www.tmurgent.com/TmBlog/?p=2264
Wednesday, May 31, 2017
Subscribe to:
Posts (Atom)
