VMware

This Question is Answered

2 "helpful" answers available (6 pts)
9 Replies Last post: Nov 6, 2009 5:37 AM by lschwingler  

Thinapp + local installed program posted: Nov 3, 2009 1:38 PM

Click to view lschwingler's profile Novice 6 posts since
Nov 3, 2009

New to ThinApp but heres what I got so far:

We have a rather large program installed on numerous PC's that needs to be updated every week or so. Within this program, it sends parameters to a locally installed scanning program which in turns uses a locally installed scanner driver. I've got our large program thinapped to run off a network share, lauch the scanning program, and work fine; but when you try lauching the scanning utility for the 2nd time (never closing the thinapp) the locally installed scanning program errors citing it can't load the scanner driver. I did a merged isolation with sandbox on the local user PC. In the sandbox, thinapp brings files for both the scanning program and scanner driver in.

It seems that once thinapp brings the files into the sandbox and uses them once, they no longer work again unless I close the thinapp, delete the sandbox, and re-launch the thinapp. I truly believe thinapp is where we need go as far as application support but won't get it in the budget till this one works.

Any help is greatly appreciated!

Re: Thinapp + local installed program

1. Nov 3, 2009 1:50 PM in response to: lschwingler
Click to view ggeldorp's profile Expert 435 posts since
Feb 29, 2008
By default, when a ThinApp application launches a child process, that child process will run in the virtual environment too. Since you have the scanning program installed locally, I'd set it up to run outside the virtual environment. You can do that using the Package.ini ChildProcessEnvironmentExceptions option, see the docs

Re: Thinapp + local installed program

3. Nov 3, 2009 3:42 PM in response to: lschwingler
Click to view ggeldorp's profile Expert 435 posts since
Feb 29, 2008
Yes, just save Package.ini and rebuild. After a rebuild it's a good idea to remove the sandbox too.
Sounds like this is not going to work though.

Re: Thinapp + local installed program

5. Nov 4, 2009 1:45 PM in response to: lschwingler
Click to view pbjork's profile Hot Shot 105 posts since
Mar 7, 2008

The user should have full access to all the files in the sandbox..

What I am thinking about is if it is the case where the scanner software cannot find the files. This is quite common; the ThinApped application creates a file and sends the path to the locally installed application. The problem is that if the isolation modes are set to sandbox that file/files it is not in the path that the ThinApped application think it is. It is in the sandbox on the physical machine.

Sometimes I managed to get around these kinds of problems by simply change the folders isolation mode to Merged and now the path is the same for both the ThinApped and locally installed application.

I might be on the completely wrong path here but it doesn’t hurt sharing I thought..

Re: Thinapp + local installed program

7. Nov 4, 2009 2:23 PM in response to: lschwingler
Click to view pbjork's profile Hot Shot 105 posts since
Mar 7, 2008

Yes, you should change the ##Attributes.ini file to Merged in that location.


The files present on your system will be pulled into the sandbox if your isolation mode is WriteCopy. WriteCopy allows physical files to be seen and used by the virtual application. But if the application modifies the files we protect the system and make the actual modification into the sandbox.


Please bear in mind that the logic behind when the files will be sandboxed or not is quite important. There is two ways a file can be accessed from within an application. Either with read access or with write access. With read access the application cannot modify the file and therefore we will not copy it to the sandbox. If the application opens the file with write access we first copy the file to the sandbox and then hand it over to the application. So your application might not modify the files in a normal sense. It may only open the files with write access but not modifying the content.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities