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

Configuring Thinapp to take dlls from Capture's GAC

$
0
0

 

Hi,

 

 

How can we make our application to read dependencies from capture's local GAC i.e,

 

 

%SystemRoot%/assembly/GAC_32 only, through thinapp.

 

 

Here is my scenario in detail

 

 

My application A.exe has a compile time dependency on a dll B.dll that is refered from GAC.

 

 

to avoid redistribution i don't supply that as a part of MSI A.msi which installs application A.exe

 

 

1. I take clean system with thinapp installed.

 

 

2. Take first snapshot

 

 

3. install A.msi

 

 

4. Manually install B.dll in GAC of the system(this is a temperory step later seperate msi installer will do this).

 

 

5. take second snapshot and build the capture.

 

 

6. copy the capture onto another clean system with .net etc installed

 

 

6. Now i try to execute A.exe which FAILS as it says it is unable to find the dependency B.dll

 

 

however it was very much a part of the capture and can be seen in the %SystemRoot%/assembly/GAC_32.

 

 

however if i install the dll in the GAC of Host system ,to which i have copied the capture, A.exe runs fine.

 

 

but this is not my requirement.

 

 

Why is the dependency not being resolved capture's local GAC

 

 

Is there any way to resolves this .

 

 

Thank you in advance

 

 

 

 

 

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 57744

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>