I did try to work on that also but no luck. Hi, Correct.. Even if you have included the registry to untick the Autoupdate option in the package, the shortcut overwrites that registry and enables the autoupdate feature. However I tried the following workaround and it solved the issue for me.. Write a vbscript that launches the exe responsible for launching the shortcut. In the same vbscript also include the logic of wring the registry that disables untick the auto update option in every 5 seconds in a recursive loop.
Place this vbs in the same location as that of the main exe. Create a dummy shortcut. Delete the main shortcut and place this dummy shortcut in the place of the main shortcut. Now everytime the user launches the shortcut , it will launch the vbs which instead will first launch the main appliction and in the mean while recursively also write to the registry to disable the auto update feature of the shortcut.
Of course there is always an option of running the vbs via taskscheduler as well. You will have to figure out the command that would run the script which would disable the auto update feature in every user in every seconds.
Hope this helps. I did not go through all this trouble as it is being used by developers they already have the privileges to install anything. This file is locked by Visual Studio, so it must be closed before trying to modify it it takes VS some seconds to free the lock. Under it are listed all the extensions installed, each one as a DWORD value, where a 0 value means no automatic update, 1 means that it is automatically updated.
Each extension value is named after the ID of the extension, together the current version. For example WixToolset. You can check this ID in the manifest. If you don't have the. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to disable Visual Studio extension automatic updates in an unattended mode?
Ask Question. Asked 3 years, 2 months ago. Active 2 years, 2 months ago. Viewed 13k times. Sometimes, things can go wrong. If your Visual Studio installation fails, see Troubleshoot Visual Studio installation and upgrade issues for step-by-step guidance. Skip to main content. This browser is no longer supported.
Download Microsoft Edge More info. Contents Exit focus mode. Is this page helpful? Please rate your experience Yes No. Any additional feedback? Submit and view feedback for This product This page. View all page feedback. In this article.
0コメント