Quantcast
Channel: VMware Communities : Popular Discussions - VMware ThinApp: Discussion Forum
Viewing all articles
Browse latest Browse all 57744

Thinreg.exe Logging?

$
0
0

While working on a login script to register Thinapps, I'm having a bit of trouble finding a way to record whether or not it actually worked. As far as I can tell thinreg.exe (from the latest build of Thinapp 4.7.1) does not set the %errorlevel% environment variable and does not output anything to console. The only way to debug that I can see is to not use the /q switch and let it pop up a message box which is not the nicest thing to stick in front of your users. For example:

 

"thinreg.exe somethinginvalid.exe" throws up the message box with error info, does not set %errorlevel%

"thinreg.exe /q somethinginvalid.exe" no message box, does not set %errorlevel%

"thinreg.exe somethinginvalid.exe > log.txt" shows message box, does not write anything to log.txt, does not set %errorlevel%

 

Is this expected behavior, or am I missing something?


Viewing all articles
Browse latest Browse all 57744

Trending Articles