VSTO-Excel-Application: Check for available new version prior to launch

Although VSTO doesn't provide anything for checking for a new available application-version (VSTO Excel-Document-Level-Customization)
prior to launching the app (but this check outside the VSTO-Application itself obviously isn't possible) I would like to know if there is a better way to handle this whole procedure.
I'm using a .Net-Application which launches Excel first, checks if all environment-parameters are ok and if so, then it eventually launches the VSTO-Application. While performing the VSTO-launch I check for an available update  - if so, the Workbook
will be closed, the update will be executed silently and the VSTO-Application will be restarted. It works, but it is quite complicated and this method is not really nice.
So my question is: Is there a possibility to perfom the VSTO-Update from the Startup-Application without initially launching the VSTO-Application and so avoiding the launch of the VSTO-Application just to check if there's an available update.

Although VSTO doesn't provide anything for checking for a new available application-version (VSTO Excel-Document-Level-Customization)
prior to launching the app (but this check outside the VSTO-Application itself obviously isn't possible) I would like to know if there is a better way to handle this whole procedure.
I'm using a .Net-Application which launches Excel first, checks if all environment-parameters are ok and if so, then it eventually launches the VSTO-Application. While performing the VSTO-launch I check for an available update  - if so, the Workbook
will be closed, the update will be executed silently and the VSTO-Application will be restarted. It works, but it is quite complicated and this method is not really nice.
So my question is: Is there a possibility to perfom the VSTO-Update from the Startup-Application without initially launching the VSTO-Application and so avoiding the launch of the VSTO-Application just to check if there's an available update.
Hello,
Based on your description, it seems that you want the add-in check updates before the add-in loaded.
Right?
If so, you could select Check every time the
customization runs, and that should solve your issue, because it will check updates before the add-in loaded.
You could refer to the loading process from
https://msdn.microsoft.com/en-us/library/zcfbd2sk.aspx?f=255&MSPPError=-2147217396, sepcially the step 6.
The following steps occur when a user opens a document that is part of a Microsoft Office solution.
The Microsoft Office application checks the custom document properties to see whether there are managed code extensions associated with the document. For more information, see
Custom Document Properties Overview.
If there are managed code extensions, the application loads VSTOEE.dll, which loads VSTOLoader.dll. These are unmanaged DLLs that are the loader components for the Visual Studio 2010 Tools for Office Runtime. For more information, see
Visual Studio Tools for Office Runtime Overview.
VSTOLoader.dll loads the .NET Framework and starts the managed portion of the Visual Studio Tools for Office runtime.
If the document is opened from a location other than the local computer, the Visual Studio Tools for Office runtime verifies that the location of the document is in the
Trusted Locations list in the Trust Center Settings for that particular Office application. If the document location is not in a trusted location, the customization is not trusted, and the load process stops here.
The Visual Studio Tools for Office runtime installs the solution if it has not been installed yet, downloads the most recent application and deployment manifests, and performs a series of security checks. For more information, see
Securing Office Solutions.
If the customization is trusted to run, the Visual Studio Tools for Office runtime uses the deployment manifest and application manifest to check for assembly updates. If a new version of the
assembly is available, the runtime downloads the new version of the assembly to the ClickOnce cache on the client computer. For more information, see
Deploying an Office Solution.
The Visual Studio Tools for Office runtime creates a new application domain in which to load the customization assembly.
The Visual Studio Tools for Office runtime loads the customization assembly into the application domain.
The Visual Studio Tools for Office runtime calls the Startup event handler in your customization assembly. For more information, see
Events in Office Projects
If that is not the one fits your requirement, then I am afraid that it is impossible to get update before the add-in loads, because we could call
ClickOnce Api but there is no such event to call that api.
Regards,
Carl
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • TV Shows Season Pass New Episodes Gone from Check for Available Downloads

    I was informed today from iTunes Support that new episodes that become available will no longer come through the Store > Check for Available Downloads option in iTunes.  If you notice in your email alerts for the new episode's availability, it now says the new episode is found in your Purchased items in Itunes in the Cloud. 
    I was also told that if I checked the options "show iTunes Purchases in the Cloud" in iTunes > Preferences > Store tab, that I could just see the new episodes in my Library under TV Shows.  I used to have this option and could access the new episodes and download them this way, but that option is now GONE as well from iTunes.  I am awaiting feedback from my Senior Support Rep as to what is wrong there. 
    I have been simply going to the iTunes Store > Purchased > TV Shows and clicking the "Not on this computer" option in the upper right.  I have to go show by show and click "Download" or "Download All".  I have almost 15 Season Passes at any one time.  This is a completely horrible way of downloading them. 
    When the new episodes were evailable via the "Check for Available Downloads" Option, I had my iMac scheduled to restart every morning around 4am Central.  That was about 2 hours after the date/time stamp of the email notifications.  Since iTunes was always set to start at login, it would automatically check for available downloads, and then download all the new episodes.  I then had a cloning process scheduled that would clone my primary iTunes Media drive to a backup iTunes Media drive.  That way if one fails I always have an up to date copy. 
    This new method totally screws up how slick this whole process worked.  I understand streaming and the cloud is the direction they are taking here, but this is completely an about face.  I want the new episodes available locally.  I want it downloaded when I am asleep and always available locally when I want to watch.  That way I dont have to worry about my internet availability.  Storm can knockout my internet.  The construction down the road can cut the optical cable.  I may loose my internet due to a problem with the ISP.  Having the files locally allows me to watch them worry free, buffer free, and when I want to. 
    I urge those who are annoyed by this change to provide feedback here: http://www.apple.com/feedback/itunesapp.html
    I really hope this decision to remove this functionality is not a sign to come.  Next I will be downloading each song one by one when I buy an album because I can just stream it in the cloud. 
    I love my Apple products and servies.  But this totally makes me hate them right now. 

    I am so angry right now I can not even see straight.  So the "Show iTunes Purchases Option" out of the blue showed up in iTunes this morning. I dont know if a reboot fixed it or what. But the attached screen shows the lack of that feature along with the iTunes version. 
    So I am not freaking crazy.  So I turned it on this morning to pick up 3 new episodes.  I get home tonigth and sit down on my couch with my Apple TV ready to roll... and it has completely screwed my "watched" vs "unwatched" episodes.  I come to my iTunes library on my iMac and sure enough TV Shows and Movies I know I have not watched or started are marked as watched.
    I have not watched a single episode of The Following Season 1, and it basically shows I have watched all but the latest 4 shows.   I have not watched the last several episodes of Revenge, and it says I have not watched only the last episode.  I am guessing as to where I left off, but it looks like Episode 13 was the last episode I watched and iTunes said I had only not watched Episode 19.  Vikings Season 1 - I have not watched a single show, but it shows I have watched all but the last 2 episodes, 8 & 9. 
    Movies - I have bought and downloaded many movies that I have not watched as of yet.  For instance: Django Unchainted, and all 3 Matrix Movies.  I have watched a couple of the Matrix movies but not all the way through.  But I had gone back and marked them as "unwatched"  Everything else I had not even touched to hit play or nothing.  These are all purchases. 
    I hunted down all the episodes and movies I knew I had not watched... which took me quite a while... and then when I close and re-open iTunes and at least the watched/unwatched TV shows stayed as I marked them.  This was not the case when this feature was first rolled out with iTunes 11.  That is exactly why I never used this feature in the first place.  Time will tell if it remains stable with the watch/unwatched situation. 
    Regardless, I am so tired of taking time out of my day and writing iTunes support and giving Apple feedback so they can perhaps look into it and see if its a larger issue than just my library.  So they can also maybe realize that some of us actually love their product and want to see them continue to working awesome, slick, and incredible. But as someone who is looking at 8 active season passes.... I may never buy a season pass from iTunes again.  The reason why EVERYONE still has a TV antenna and/or cable is because the basic concept of how you watch the programming DOESNT CHANGE.   They should take this feedback simply as TV shows are not like Movies and Music.  TV shows happen weekly.  Having a consistent and repeatable process to get the shows and watch them each week is paramount. 
    I am usually very good with change and enhancements.  But this one.... has completely made me an irate Apple Customer.

  • HT1725 When I click on a Movie I get the following "You have already purchased this item but it has not been downloaded. To download it, select Check For Available Downloads from the Store menu." Then get err = 11111

    iTunes quit unexpectedly during the download of a movie.  When I click on that movie now I get the following message: "You have already purchased this item but it has not been downloaded. To download it, select Check For Available Downloads from the Store menu."
    I follow the instructions, but the download still doesn't resume - err = 11111
    Any advice?

    Yeah, I am going to blast my iPhone for the 4th time today and pray this goes away. I had 6 apps showing updates, the 6 badge icon shows on the App Store on my iPhone and, having run them all, the 6 apps have two copies each on my iPhone: one that is the old version of the app and will not run and the other is a faded version of the app with an empty progress bar on the icon. Click those and you get an error message about connecting to iTunes, etc. as described in the article I linked to above.
    It gets stranger than this. If I install a completely NEW app, the 6 that are stuck mid-update heal themselves and appear with the new version only, however now completely different apps (Hold Em for instance - which I did not update and didn't need an update) will not launch "app name Cannot Launch" message comes up.
    Agh!

  • Error "Object 'DM' (APCO) of type 'Application' is not available in version 'A'" while transporting process chain to production system.

    Hi Gurus,
    Whenever I try to transport a process chain ZFI_0FIGL_C10 from dev. to qua. & prod. the error “Object 'DM' (APCO) of type 'Application' is not available in version 'A'” is displayed in the end of creating transport package.
    The process chain was created to load data to 0figl_c10 and it works all right on all systems (dev. qua. prod.).
    The process chain contains processes for:
    - starting the process chain
    - executing infopackage (for loading data to 0figl_o10),
    - ACR (activate data in 0figl_o10)
    - delete index 0figl_c10
    - DTP loading data from 0figl_o14 to 0figl_c10    
    - executing infopackage 80FIGL_O10
    - creating index in 0figl_c10
    - building DB statistics
    - rolling up aggregates in 0figl_c10
    - deleting of requests from the changelog 0figl_o10
    - deleting of requests from PSA (0fi_gl_10)
    How to find what cause that error.
    Regards,
    Leszek

    Hi,
    A SAP consultant told me to ignore that error. 
    Indeed, after creating transport with some new process chains (again I was informed about that error "APCO ...") and transporting it to production everything works all right.
    The problem is described in sap note: 883745.
    Regards, Leszek  

  • What does "check for available downloads" do?

    I bought some movies on my iPad while at work today.  I didn't have enough space on the iPad so I checked "later" when the option came up about downloading now or later.  When I got home, I saw that iTunes was showing the movie in my library with the cloud icon in the upper right corner, meaning that I own this movie but have not yet downloaded it.  I thought clicking on "check for available downloads" from the Store menu would locate the purchased movies and download them, but instead I get the message "all purchases have been downloaded for this apple ID" (see image below).  So I had to manually fish through the library and locate the purchased movies and click on the cloud icons to start them downloading.
    So if "check for available downloads" doesn't do what it sounds like it should, what is it for?
    I have the latest version of iTunes: 11.4.0.18

    I thought I'd bump my own thread since it's three months later and iTunes is now at version 12 and the "check for available downloads" still does nothing.  I am subscribed to a season pass of American Horror Story and every week I get an email saying that a new episode is available for download.  But when I launch iTunes and click on "check for available downloads", nothing happens.
    Que sera, sera.

  • I can't seem to download anything on my iTunes when I use Check for available downloads. I have preorders that I can't download cos it just says 'iTunes store temporarily unavailable' even tho when I actually go on iTunes itself it work fine..

    I've been in contact with Apple support team regarding this issue. I have about 9 items available for download(preorders mostly) but it's not listed under download. When I click on Check for available download, a message with 'iTunes temporarily unavailable' appears but when I go to the iTunes store itself, its working just fine. I've already been charged twice for the same movie which Apple have kindly refunded me for one of them but I still haven't managed to download that movie yet. Apple says its a problem with my computer and given me all sort of ways to rectify the issue and still no hope. Everything else seems to work just fine including the actual iTunes store, wifi syncing and cable syncing etc. Can somebody help me with this if you know how to solve this problem or if you've had the same issue now or before?
    I am using the latest Software updates on my iTunes and these 9 items were purchased whilst on this new updates

    Launch iTunes on your computer.
    From the menu bar click iTunes > Preferences then select the Advanced tab.
    Click Reset warnings and Reset cache
    Click OK.
    Restart your computer, launch iTunes.
    Click Store > Check for Available Downloads...

  • "Unable to check for available downloads" since upgrade to 8.1

    It appears a number of people are having this problem but are all under different headings...
    I can purchases new music/items and have them download right away, but it appears anything that was waiting for me to download prior to the upgrade to 8.1 is stuck somewhere. When checking for Downloads (no matter which way you do it) I get an error that says "Unable to check for available downloads. The iTunes store is temporarily unavailable."
    Troubleshooting guides suggest ensuring your firewall is allowing all permissions appropriately... I even turned them to "ask for permission" so that I would know it was trying. No luck.
    When is Apple going to recognize there's a problem? If I can purchase new items and get them to download right away, clearly there is no issue with ISP or Firewall.

    Having the same issue. I even downloaded a rental last night to have it disappear this morning and it says I have purchased the rental but never downloaded it. I have played with all network settings include as open as possible and no luck.

  • I cannot access any of my old purchases. Movies, mainly. It has nothing to do with authorized accounts, I've checked for available downloads a thousands times over. They simply do not exist any longer.

    Well, this has been going on for a long time and I've had my absolute fill of it tonight.
    I have purchased a large collection of movies from iTunes that for mainly the reason that I have a new computer, my old films no longer exist as downloaded iTunes videos. That being said, I know I should be able to download purchased films as long as they're still on the iTunes store. I cannot download any of them. Tonight I decided to buy a collection that should have allowed me to download all three films (which I had previously owned, but got sick of trying to find a solution to why I cannot redownload them). So tonight, I purchase this collection of three films, downloads the frst one. Theres absolutely no sign of the second or third film and when I select Check for available purchases it says all available purchases have been downloaded.
    If this was true, 25+ movies would be available to download, least to say the two missing from tonights purchase (which I have purchased in the past as well).
    My account is authorized, everything is alright with my account and I have tried multiple suggestions and am completely lost. Apple support is giving me the run-around.
    What do I do?

    Nevermind. I finally found a third party answer and will post it for anyone else with my problem.
    >Go to the iTunes store.
    >Halfway down the page, right hand side, says account
    >Under account it says purchaced, select that
    >Wa-la

  • Check for Available Downloads... (where are they?)

    My daughter has purchased several songs from iTunes using her iPhone and my iTunes account. She never synchs with her Powerbook, so I can't do a Home Share to transfer them to my own, or any of the other computers on our home network. However, according to the iTunes menu, any song bought using our iTunes account should automatically download to my computer. At least that's how I set the preferences.
    But it's not working - when I go to the "Check for Available Downloads..." menu it tells me that all my purchases have been downloaded but these new songs are not in my Library. Is iTunes not recognizing that she has purchased them with the same account? (my credit card is certainly being charged using that account) So where are they? How do I get them on our other other computers - and eventually on our respective iPad and iPods?
    Any thoughts, instructions or clarifications on how this works, would be appreciated.

    Do you have automatic downloads turned 'on' for your account on your computer's iTunes ? If not then you can turn it 'on', but that will only take effect from the next purchase.
    Depending upon what country that you are in (it's not possible everywhere) then you might be able to re-download them via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes : re-downloading.

  • Unable to check for available downloads...  Try again later.

    "Unable to check for available downloads.  The iTunes Store is temporarily available.  Please try again later."   Forever, really.
    It all started when I attempted to "Download All Updates" (104 of them) and it crashed.  Now it tells me that I've already purchased the items, and to "Check for Available Downloads", which throws the above error for going on three days now.  Email support has not answered my inquiry / report.
    In the meantime, the "Genius Folks" in the Apple Store inspired me to a partial workaround, at least to whittle down the queue.  By installing the apps to my device, updating them there, and syncing them back to iTunes.  But I still have a few stuck in some weird state, that iTunes is unprepared to process.
    BTW, the geniuses never heard of this problem, even after I showed them that a quick Google search came right back with 404,000 hits.   I've seen iTunes unable to connect to the Store when there were too many updates, for years, on both Windows and OSX, and many released versions, but I've always been able to download them individually, instead of in bulk.  First time it crashed and left me hosed.
    Seems like a server-side issue.  Any suggestions on how to get through to the powers that be, and have my queue cleaned up?  And maybe get the attention of the Q/A and development departments to actually acknowledge and fix a long standing and most inconvenient bug?

    Thank you so much - I have spent the last 4 days scouring internet forums trying to solve this problem (I couldn't connect to the iTunes store/download any apps or updates) and just as I was about to give up I stumbled across your post. I can't believe I've had such big problems all because of the ampersand in my billing address! How did you discover this?! It's such a small detail! To my huge relief it's all sorted now and I can now update my apps and download again! I'll be cancelling my appointment at the genius bar tomorrow too! Thanks again very much!

  • Check for available downloads in the Store menu not working!

    I have an iPod Touch 2nd gen and use my it mainly for the applications, and that's where my problem is!
    Normally I click on Get updates on the apps I have already bought and they normally download for syncing with my iPod but for some reason they aren't. It says "x updates available" but when I click on them it comes up with a message like :-
    "You have already purchased this item but not downloaded. To download it, select Check for available downloads in the Store menu"
    Which I do. As soon as I click ok it comes up with a network connection timeout and the same when I click on Check for avaiable downloads - EVERY time! Done a diagnostic and network connection is ok and also can still buy stuff.
    All I want to do is update these apps, what's wrong???

    Contact itunes support.

  • Unable to check for available downloads.

    I've been getting the message, "Unable to check for available downloads. The iTunes Store is temporarily unavailable. Please try again later." all September long and I'm not sure how to fix it.
    I've been told by iTunes support that it should be up within 24 hours but it's been over 500 hours so far.
    I've been told maybe my iTunes is out of date but I have the most recent.
    I've also been told it's my ISP/ net connection but I have no problems downloading some things.
    I have had 40 items unable to be downloaded for a while and that annoyed me but tonight I tried downloading 5 more songs and then I had to accept a new 'Terms of Service' so I did and then those 5 ended up with the 5 others in some kind of file purgatory.
    Not sure how much this could help but iTunes Support doesn't seem to care and they just told me to ask here instead of them.
    Message was edited by: orestes31

    And how do you check each pending download? My download screen has absolutely nothing on it. At the bottom of it there is "16 iTunes Downloads Available." I click on the download button next to it and get the same error: "Unable to check for available downloads. The iTunes Store is temporarily unavailable. Please try again later." Help, I just bought an app I'm dying to play on my iPod!

  • Unable to check for available downloads. The network connection timed out.

    I downloaded iTunes 10.1.2 last week, and attempted to upgrade some music to iTunes Plus. I'm showing 35 items in my download queue, but when I attempt to download I get a message "Unable to check for available downloads. Network connection timed out."
    I e-mailed Apple Tech Support multiple times, and received their standard list of links for things to try. So far I have reinstalled iTunes, turned off my Norton Firewall, checked the program rules settings, flushed the dns cache, and unchecked the "allow simultaneous downloads" box. Still no luck.
    Apple's last e-mail requested I send them my account info so they could reset my password, and check my system. I'm still waiting for that to happen.
    I'd appreciate any user suggestions for this problem.

    Fundamentally it is an apple itunes server issue - if you have a lot of downloads the "check for downloads" request can take longer than the default windows internet connection timeout setting - which is 30 seconds on more recent versions of windows.
    You can work around it though - without requiring apple to "segment" your download list, by adding a windows registry setting.
    Apple re-enabled my downloads after I was burgled and then I was stuck - my "check for downloads" was always timing out - and the support guy had no clue - so I went digging, and found a a microsoft article here http://support.microsoft.com/kb/181050 which tells you how to change change that default timout value by adding a registry setting. Besides adding the ReceiveTimeout setting detailed on that page - I also changed the KeepAliveTimeout - just in case.
    HKEYCURRENTUSER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ReceiveTimeout
    which I set to 180000 milliseconds (3 mins)
    HKEYCURRENTUSER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\KeepAliveTimeout
    which I set to 181000 milliseconds (3 mins and 1 second)
    Use regedit to make the change - both settings are DWORDS with decimal values. You'll need to restart your PC to apply the change.
    After the change and restart and one initial failed attempt the request for downloads worked - when the apple itunes server responded after 2 minutes !!

  • Unable to check for available downloads - Can't download my purchases

    I've already 50 files in queue. Some of those files are 8 months old. And recently I purchased a song (the free ones).
    And it said 'Checking for downloads' and then it started giving me this error "Unable to check for available downloads."
    I tried to 'Report a problem.' But I can't report to apple either. Whenever I try to do so, I'm taken to http://www.apple.com/support/itunes/#itunescards_andcodes rather than this address http://www.apple.com/support/itunes/store/songcode/
    And the new page has no form to fill up! I just can't do anything. Please help me!
    PS - I recently updated from iTunes 10 to 10.1.

    After sending two e-mails and recording a screen-cast video solved the problem.
    Source: http://posterous.thisux.com/fixed-itunes-9-error-unable-to-check-for-avai

  • "Unable to check for available downloads" message - counted download items

    I've been trying to download touch upgrade since Wednesday after buying it (shows on account). I am showing that I have 26 downloads. When I repeat trying to upgrade process or attempt downloading the 26 downloads on the download page (bottom, down arrow), I repeated get this message: “Unable to check for available downloads. The iTunes store is temporarily unavailable. Please try again later.”
    I have reinstalled iTunes (downloaded current version, which I already had), I have deauthorized and then re-authorized my computer, I have cold booted, I have turned of firewall and virus (McAfee). Since I started trying to upgrade, I have purchased a song; it certainly has no trouble finding iTunes available for that purchse! I have run the iTunes diagnostic, and everything passed. I have done everything I know to do except give up.
    Help!?

    After sending two e-mails and recording a screen-cast video solved the problem.
    Source: http://posterous.thisux.com/fixed-itunes-9-error-unable-to-check-for-avai

Maybe you are looking for

  • One Time Flat File load in a Cube that extracts from ECC

    Hi, I have a cube that is already extracting data from ECC on a daily basis. I am asked to load some historical data into the cube from their legacy system. My question is, how do i prepare that file from the legacy system to match the fields in the

  • Buffalo LinkStation Live and NasNavigator 2 problems with Mac

    I am using a Buffalo LinkStation Live (LS-CH1.0TL) with my MacBook. With the Firewell turned off on my Mac it works really well. Unfortunately, with the Firewall on, a perpetual dialogue box appears asking to give permission to allow incoming connect

  • Drag and Drop with snap and response

    Ok, first of all I'm new to all of this as I'm just doing some parttime work. I'm trying to make a drag and drop game where the images (imported and made into movie clips with instance names "peg1 - peg7") are to be dragged onto targets (images, made

  • Auto-stack by capture time messed up my stacks

    After manually creating many dozens, perhaps a hundred stacks, I tried the Auto-stack by Capture Time feature.  Now my stacks are totally messed up; I either have way too many or none.  Is there any way to get back to where I was except by reverting

  • Calender and notification center /iOS7

    After iOS7 update, all-day events arg no longer shown on the notification center. Any idea how to fix this problem