VMware

This Question is Answered

1 "helpful" answer available (6 pts)
8 Replies Last post: Nov 6, 2009 8:02 AM by Squidly Man  

AppSync using File share posted: Aug 12, 2009 4:21 AM

Click to view RonIntergamma's profile Novice 7 posts since
Jul 27, 2009

Hi, I'm using firefox as ThinAppad application

I want to use the AppSync variable to make it updatable. Hereunder I explain what I did so far. I assumes further that just as long the application on the update server is different in date/time is enough to tricker the upload process

I'm using a fileahare on a server which is password protected. With user/password it is accessable.
In the manual is an option mentioned to give in the AppSyncURL the user and password to connect to a server using HTTPS/HTTP

  • When I use this option in firefox -> http://user:password@doamin.com it works while connecting to a webservice.
  • When I try this using the command-> file:///user:password@server/share it does NOT work

I don't know if ThinApp uses the straight URL as given at the AppSyncUrl variable but if it does this will not work.

A- If I just try this and use the variabe without usernae:password the application just starts, but nu update takes place and no messages appear.
B- If I put the user:password I do het a message that the application was unable to connect to the server.
C- I also tried manually making a fileshare and the starting the application as in option A, with the assumption that the user ia at that moment allready known, but no update takes place and no message appears

Questions:
Is my assumption correct that the file needs only be different on date/time?
Am I doing things wrong with user:password using file share?

Any help is welcome

Thanks Ronald

Re: AppSync using File share

1. Aug 12, 2009 5:15 AM in response to: RonIntergamma
Click to view ggeldorp's profile Expert 435 posts since
Feb 29, 2008
Your assumption is not correct, AppSync doesn't use the date/time stamp but it uses a hash stored in the package to determine if the package changed.
Username/password is only supported for http/https, not for file.

Re: AppSync using File share

3. Aug 12, 2009 6:00 AM in response to: RonIntergamma
Click to view ggeldorp's profile Expert 435 posts since
Feb 29, 2008
Username/password doesn't have to match, but if they don't match you need to set up a mapping before running the ThinApp application (e.g. using "net use \\server\share /user:serverusername serverpassword").

Just rebuilding a package unchanged won't give a new hash. Adding a fake option to [BuildOptions] (e.g. "Force=NewHash") will.

Re: AppSync using File share

6. Oct 1, 2009 6:05 AM in response to: RonIntergamma
Click to view ggeldorp's profile Expert 435 posts since
Feb 29, 2008
Can you point me to where the docs incorrectly show two slashes, so I can ask the doc people to fix it? http://pubs.vmware.com/thinapp4/help/wwhelp/wwhimpl/js/html/wwhelp.htm?href=pkg_AppSyncURL.html lists the following two examples:

file:///C:/<path>/<package_name>.exe
file://<server>/<share>/<path>/<package_name>.exe

both of which are correct. You need 3 slashes for a path containing a drive letter and 2 when using sever\share.

Re: AppSync using File share

8. Nov 6, 2009 8:02 AM in response to: RonIntergamma
Click to view Squidly Man's profile Enthusiast 26 posts since
Aug 18, 2008

The Blog URL is corrected.

Additionally, a video has been posted demonstrating ThinApp.

http://blogs.vmware.com/thinapp/2009/11/appsync-explained.html

-Dean F.
http://pubs.vmware.com/thinapp4/help

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