VMware Communities > VMTN > Enterprise Desktop Products > VMware ThinApp™ > VMware ThinApp: Discussion Forum > Discussions

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
5 Replies Last post: Aug 23, 2008 1:47 AM by ggeldorp
Reply

C:\Program Files\Common Files problem

Aug 21, 2008 11:38 PM

Click to view ptr727's profile Novice ptr727 17 posts since
Mar 18, 2004

Hi, I'm having a problem with files in a subdirectory under "C:\Program Files\Common Files".

When I run the app none of the files are virtualized in the package.

The macro was generated by the capture app, I'm not at that machine right now (but I want to post before going to bed so I can have an answer by the time I get to the office), so I can't give the exact text, but I assume it would be correct.

It should be the equivalent of CSIDL_PROGRAM_FILES_COMMON, and based on the release notes %Program Files Common%.

Are there any issues with this macro?

P.

Reply Re: C:\Program Files\Common Files problem Aug 22, 2008 1:16 AM
Click to view ggeldorp's profile Expert ggeldorp 342 posts since
Feb 29, 2008
VMware
%Program Files Common% is only present in ThinApp 4.0, not in older Thinstall versions. But I assume you captured with ThinApp 4.0?
Reply Re: C:\Program Files\Common Files problem Aug 22, 2008 10:02 AM
in response to: ggeldorp
Click to view ptr727's profile Novice ptr727 17 posts since
Mar 18, 2004

I double checked this morning, the macro I am using is %Program Files Common%, and I am using version 4.0.

The root of %Program File Common% is set to WriteCopy isolation.

The subdirectory "foo bar" under that is set to Full isolation.

To test I embed A43 file manager, and make that the default app.

I can see my virtual program files directory, but not program files/common files/foo bar.

Running a trace does not mention the "foo bar" directory.

If I create a Common Files folder under %ProgramFilesDir%, then it works, but this is not the right way to go.

Anything else I should try?

Reply Re: C:\Program Files\Common Files problem Aug 22, 2008 12:44 PM
in response to: ptr727
Click to view ggeldorp's profile Expert ggeldorp 342 posts since
Feb 29, 2008
VMware
Can you check the "CapturedUsingVersion=" in your Package.ini?
Reply Re: C:\Program Files\Common Files problem Aug 22, 2008 4:44 PM
in response to: ggeldorp
Click to view ptr727's profile Novice ptr727 17 posts since
Mar 18, 2004

It is:

CapturedUsingVersion=4.0.0-2200

During testing I did delete all entries that did not seem relevant, and this was one of them.

Does the compiler interpret that value instead of just looking at all used macros?

Reply Re: C:\Program Files\Common Files problem Aug 23, 2008 1:47 AM
in response to: ptr727
Click to view ggeldorp's profile Expert ggeldorp 342 posts since
Feb 29, 2008
VMware
When we introduced the "%Program Files Common%" macro, we had a backward compatibility problem. Projects captured using older versions of Thinstall didn't have that macro, and files were stored in "%ProgramFilesDir%\Common Files" (for English). To fix this compatibility problem, we look at the CapturedUsingVersion setting. If it is below 3.393, then we don't activate the new macros like "%Program Files Common%".
Actions