VMware

This Question is Answered

1 "helpful" answer available (6 pts)
12 Replies Last post: Nov 5, 2009 12:15 PM by wrieser  

IE and Office integration posted: Nov 4, 2009 12:24 PM

Click to view wrieser's profile Novice 7 posts since
Aug 18, 2008
I have been able to integrate IE applications with Adobe and Microsoft Office using Applink. The problem I continue to have is removing the option to ask before downloading an Excel or Word doc. You can select to not ask before opening which will save while you are logged in but we are using View with non persistent desktops so the option doesn't stick. Let me know if you have any ideas.

Thanks

Re: IE and Office integration

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

Hi..
Sorry but I do not really understand the setup. Do you keep the users sandboxes? Do you keep user data on the local machine/VMs? Since the setting is not preserved something of above is deleted if I understand you correct.


Or do you want to have this setting within the package it self?

Re: IE and Office integration

3. Nov 4, 2009 2:12 PM in response to: wrieser
Click to view pbjork's profile Hot Shot 105 posts since
Mar 7, 2008
I see.. Strange that it would be a machine setting. Could you try to run the package on a clean VM (in VMware Workstation) or on your physical machine. Check if the setting is preserved first between launches of the application and second if you log off and log on as another user. This would give me some more data to your issue. And it should tell if it is infact a machine setting or not.

Re: IE and Office integration

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

Well your testing just proved that it is a user based setting.. That is good. We should have no problem putting that into the package.


I would use sbmerge to modify the project instead of trying to find the setting manually.
1. Make sure you delete the sandbox for the application, we want a clean sandbox
2. Run the application and activate the setting you want to change
3. Close the app.
4. Run sbmerge.exe Print > c:\registry.txt and investigate this file. It will show you if there is a lot of rubbish. If there is you might want to manually copy paste the correct setting into the registry files of your project.
5. If the output is fairly clean run sbmerge.exe Apply, this will merge all setting in your sandbox into the project. Rebuild and you should have your setting built into the package. Please make a copy of your project prior this exercise since you cannot revert sbmerge.

More sbmerge info: http://blogs.vmware.com/thinapp/2009/10/how-to-maintain-a-thinapp-package.html


It could still be the case that it is something strange with this setting and we cannot virtualize it but above will show if that is the case..

Re: IE and Office integration

7. Nov 4, 2009 3:27 PM in response to: wrieser
Click to view pbjork's profile Hot Shot 105 posts since
Mar 7, 2008
Please try to find out what registry key it is modifying. That would help a lot..

Re: IE and Office integration

8. Nov 4, 2009 3:49 PM in response to: pbjork
Click to view ggeldorp's profile Expert 435 posts since
Feb 29, 2008
Not completely sure, but I remember something about it being stored in a registry value called "EditFlags". More info here: http://msdn.microsoft.com/en-us/library/bb762506(VS.85).aspx I think the flag you're looking for is FTA_OpenIsSafe (0x00010000). Should be possible to modify your HKEY_LOCAL_MACHINE.txt.

Message was edited by: ggeldorp; fixed link

Re: IE and Office integration

9. Nov 5, 2009 1:47 AM in response to: ggeldorp
Click to view pbjork's profile Hot Shot 105 posts since
Mar 7, 2008
Thanks Greg.. You are a star as always..

Re: IE and Office integration

11. Nov 5, 2009 6:14 AM in response to: wrieser
Click to view ggeldorp's profile Expert 435 posts since
Feb 29, 2008
You need to modify that value for each "ProgID". Those ProgID registry keys are created by the app that implement them, so in your case that would be Office. As an example, after I capture Office 2007 I find the following entries in HKEY_LOCAL_MACHINE.txt:

isolation_full HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Sheet.12
Value=
REG_SZ~Microsoft Office Excel Worksheet#2300
Value=BrowserFlags
REG_DWORD=#08#00#00#00
Value=EditFlags
REG_BINARY=#00#00#00#00
You'd have to change that last line to:

REG_BINARY=#00#00#01#00
(The bytes are stored "backwards", so the flag 0x00 01 00 00 translates to the REG_BINARY value above). Note: I haven't actually tested this.
You'd have to set the same bit for other Office ProgIDs (Word.Document.12, PowerPoint.Show.12). Then rebuild the package and start with a clean sandbox.

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