Getting error message when intalling my app
-
Sunday, March 15, 2009 2:21 AM
The message is
"System Update Required"
Unable to install or run the application. The application
requires that assembly Microsoft.VisualBasic.PowerPacks.Vs
Version 9.0.0.0 be installed in the Global Assembly Cache
(GAC) First.
It is not completely clear to me if this is something that I have to 'include' in my application, or something I have to direct my friend to install in his computer. (Or how he can get it?)
Chvoesh
(Thanks for your help)
All Replies
-
Sunday, March 15, 2009 10:31 PMHi,
could you please provide some more information about the way you're deploying your application? It would be particularly useful to know if you're deploying your application via ClickOnce (Build|Publish command) or the Setup & Deployment projects for Windows Installer.
By the way, it seems that you're embedding some controls from the VB Power Packs in your application. Can you please check that they are included in the deployment's prerequisites?
You are probably missing these components on the target machine. I've never personally used PowerPacks, but that error message should mean that some assemblies must be installed to the Global Assembly Cache on the target machine.
If you're deploying your application via ClickOnce, installing assemblies to the GAC is not allowed. So you could check for references in your project and change the "Copy local" property for each PowerPack assembly from False to True and then include the Power Packs redistributable in your prerequisites (VB 2008 should include a prerequisite for Power Packs).
Hope this helps.
Alessandro Del Sole - Microsoft MVP http://community.visual-basic.it/Alessandro- Marked As Answer by Xingwei Hu Friday, March 20, 2009 9:28 AM
- Unmarked As Answer by Chovesh Tuesday, March 24, 2009 2:06 PM
-
Monday, March 16, 2009 3:27 PMI'm using the Build/Publish command.
In the publish/prequisites, I only see "Microsoft Visual Basic PowerPacks 1.2" which is NOT checked. I am not going to mark them as checked.
In References, I see that Microsoft.VisualBasic.PowerPacks.Vs has Copy Local as False and I'm changing that to True.
I think this will help. I'm giving it a try. -
Tuesday, March 24, 2009 2:30 PM
I attempted it, but my friend got the message:
"Unable to satisfy all prerequisites for MyTestApp. Setup cannot continue until all system components have been successfully installed"
I went back to 'Publish' to make sure, and Copy Local was set to TRUE, and Specific Version was also set to TRUE,
The file Microsoft.VisualBAsic.PowerPacks.Vs.dll.deploy had been added to the files included in the application.
I had "Microsoft.VisualBAsic.PowerPacks.Vs.dll" as"
Pulish Status: 'Include (Auto)'
Download Group: '(Required)'
Hash: 'Include'
I however did not have "Microsoft.VisualBAsic.PowerPacks.Vs.xml" sharing these values.
At least the error message was slightly different. ;-)
There were also some 'unused references', 4 of them total (System.data, System.data.DataSetExtensions, System.Deployment, System.Design). Could I "Remove" these references from my project to decrease the overall size of the files that I send my friend?
More suggestions on how to get it so that others can install my app would be appreciated.- Proposed As Answer by nobbydutrieux Thursday, May 28, 2009 4:11 PM
-
Wednesday, March 25, 2009 1:28 AMMy friend sent me the following details
Prerequisite check for system component Microsoft Visual Basic PowerPacks 1.2 failed with the following error messages:
"Administrator permissions are required to install Microsoft Visual Basic PowerPacks 1.2. Contact your administrator."
See the setup log file located at 'C:\Users\Drake\AppData\Local\Temp\VSD846A.tmp\install.log' for more information."The log file it mentions then contains the following:"The following properties have been set:
Property: [AdminUser] = false {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 5.1.2 {version}
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Running checks for package '.NET Framework 3.5 SP1', phase BuildList
Reading value 'SP' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v3.5'
Read integer value 1
Setting value '1 {int}' for property 'DotNet35SP'
The following properties have been set for package '.NET Framework 3.5 SP1':
Property: [DotNet35SP] = 1 {int}
Running checks for command 'DotNetFX35SP1\dotNetFx35setup.exe'
Result of running operator 'ValueGreaterThanEqualTo' on property 'DotNet35SP' and value '1': true
Result of checks for command 'DotNetFX35SP1\dotNetFx35setup.exe' is 'Bypass'
'.NET Framework 3.5 SP1' RunCheck result: No Install Needed
Running checks for package 'Microsoft Visual Basic PowerPacks 1.2', phase BuildList
Attempting to find 'Microsoft.VisualBasic.PowerPacks.Vs, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' in the Global Assembly Cache
AssemblyCheck: Error querying assembly info: -2147024894
Attempting to find 'Microsoft.VisualBasic.PowerPacks.Vs, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil' in the Global Assembly Cache
AssemblyCheck: Error querying assembly info: -2147024894
Unable to find assembly in GAC
Not setting value for property 'VBPowerPacksInstalled'
The following properties have been set for package 'Microsoft Visual Basic PowerPacks 1.2':
Running checks for command 'VBPowerPacks\VisualBasicPowerPacksSetup.exe'
Result of running operator 'ValueExists' on property 'VBPowerPacksInstalled': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': true
Result of checks for command 'VBPowerPacks\VisualBasicPowerPacksSetup.exe' is 'Fail'
'Microsoft Visual Basic PowerPacks 1.2' RunCheck result: Fail
A prerequisite failed for Package "Microsoft Visual Basic PowerPacks 1.2"
Package failed with message "Administrator permissions are required to install Microsoft Visual Basic PowerPacks 1.2. Contact your administrator.""I don't know why I wouldn't have administrator permissions. I'm using Windows Vista and I'm the only user. I think that's all I got for you. Hope it helps."
And that is all the information he was able to give me. -
Wednesday, April 08, 2009 8:00 AM
Have you been able to resolve this problem because even I am facing the same prob with my deployment.
Please do get back.
---
Regards,
Mukesh -
Wednesday, April 22, 2009 2:08 AMI've not been able to resolve this problem.
-
Tuesday, May 26, 2009 11:56 AMAs the error message suggests "Administrator permissions are required to install the PowerPack". The problem with Vista is that even the administrator runs in user mode and switches to admin mode when required. This is when Vista shows the messagebox asking the permission. It should show that box when running your setup. Try testing it on XP machine.
If this post is useful, mark it as answer. -
Wednesday, August 12, 2009 8:57 PMI have the same deployment issue. VisualBasicPowerpackssetup.exe needs to be put on 400 pcs but PSEXEC remote running of EXE & MSI with various combinations of ONECLICK have boiled down to the VBpowerpack. The powerpack has an Application security issue and will not remotely install (oddly enough we needed to be the local administrator orginally to get the install to happen). I suspect this might be related to certificate but I have no control of that due to company policy.
Is there any information on mass deployment of VisualBasicPowerPacksSetup.exe or the embedded install.exe & vb_powerpack.msi? -
Thursday, August 13, 2009 11:02 PM
I've not been able to resolve this problem.
Neither have I. Really annoying, I lost a lot of time trying to figure out a way to resolve this issue.
I've resorted to having all of my users manually install VisualBasicPowerPacksSetup.exe.
-- Milo D. Cooper -
Friday, October 09, 2009 11:15 PMThis is not helpful. When I change it to false as in the instructions above, then I get :
Warning 1 Item 'Microsoft.VisualBasic.PowerPacks.1.2' could not be located in 'c:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Bootstrapper\'. TCDRCSS9
and
Warning 2 Item 'Microsoft.Net.Framework.3.5.SP1' could not be located in 'c:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Bootstrapper\'. TCDRCSS9
How aggravating. Is there something I can have the user organization do to their machines for this to work... (some work, some don't)
Website Developer -
Thursday, February 18, 2010 9:34 PMI was able to fix this by de-selecting these items in the properties window of my project file.
In the Publish Tab, under Install Mode & Settings, Click the "Prerequisites" button, then only select the Items you need to install.let me know if you need any other info, I can give screen shots.
Hope that helps.Michael- Edited by The Big Gidowski Thursday, February 18, 2010 9:36 PM update
-
Thursday, December 29, 2011 2:34 PM
I also received a similar error message when a user tried to run my application from a shortcut:
"Unable to install or run the application. The application requires that assembly Microsoft.VisualBasic.PowerPacks.Vs Version 10.0.0.0 be installed in the Global Assembly Cache (GAC) first." I am using VS 2010.
I fixed it by going into Project --> Properties, References, clicking "Unused References", and removing this assembly (as well as a few others I wasn't using anymore). Rebuilt it, and republished it (it is run directly from the publish location from a shortcut, so no installing components).
Check to see if you're really using a feature of that assembly.
Michael (Gore).
- Proposed As Answer by Daniel Cassar-Alpert Wednesday, May 23, 2012 12:50 PM
-
Wednesday, May 23, 2012 12:52 PM
I also received a similar error message when a user tried to run my application from a shortcut:
"Unable to install or run the application. The application requires that assembly Microsoft.VisualBasic.PowerPacks.Vs Version 10.0.0.0 be installed in the Global Assembly Cache (GAC) first." I am using VS 2010.
I fixed it by going into Project --> Properties, References, clicking "Unused References", and removing this assembly (as well as a few others I wasn't using anymore). Rebuilt it, and republished it (it is run directly from the publish location from a shortcut, so no installing components).
Check to see if you're really using a feature of that assembly.
Michael (Gore).
I have tried countless "solutions" by other people who said it solved their problem. Finally after 4 hrs of rage, Michael Gore's suggestion solved my problem! Went to the Project - Properties, References, click "Unused References" and clearing them all (they're unused anyway). Et Voila'! Finally working! Big thanks to all but especially to Michael!
Daniel.

