Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. VB 2008 Express App install wants to install unnecessary components

VB 2008 Express App install wants to install unnecessary components

Scheduled Pinned Locked Moved Visual Basic
databasecsharpsysadminhelpquestion
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nhsal69
    wrote on last edited by
    #1

    Hi folks, I have created an app which takes a SQL table from a SQL 2005 server (separate from the machine running the application) queries it in some nice ways and generates an Excel spreadsheet with the required data. The problem I have is that when I publish the App and get another machine to install it using the "setup" file created, it wants to download and install: .Net Framwork 3.5 SQL 2008 Express edition Both take ages to download and install and I don't see why the SQL Express is required. Can I stop this process from happening as part of the install. Are they BOTH necessary?? Just to point out, AFAIK there is definitely no requirement for SQL 2008 Express to be installed on the client, the app just uses a connection string to connect to the remote database and queries are passed as strings.. Thanks

    D 1 Reply Last reply
    0
    • N nhsal69

      Hi folks, I have created an app which takes a SQL table from a SQL 2005 server (separate from the machine running the application) queries it in some nice ways and generates an Excel spreadsheet with the required data. The problem I have is that when I publish the App and get another machine to install it using the "setup" file created, it wants to download and install: .Net Framwork 3.5 SQL 2008 Express edition Both take ages to download and install and I don't see why the SQL Express is required. Can I stop this process from happening as part of the install. Are they BOTH necessary?? Just to point out, AFAIK there is definitely no requirement for SQL 2008 Express to be installed on the client, the app just uses a connection string to connect to the remote database and queries are passed as strings.. Thanks

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      So, what did you do to create the installer??

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      N 1 Reply Last reply
      0
      • D Dave Kreskowiak

        So, what did you do to create the installer??

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008
        But no longer in 2009...

        N Offline
        N Offline
        nhsal69
        wrote on last edited by
        #3

        Morning.... I didn't do anything... You click on Builds, then Publish.. You select a path and then whether the clients will want automatic updates and then that it... The setup files appear in the designated folder, the client runs them and then get prompted to install .Net 3.5 and SQL Express 2008.... Are these components defined in the code somewhere, or when the build is completed?? As it doesn't appear obvious. As a side note, the application was designed and tested using connections to SQL Express (Locally installed), but then the connection strings were changed to use SQL 2005 (full vers)

        D 1 Reply Last reply
        0
        • N nhsal69

          Morning.... I didn't do anything... You click on Builds, then Publish.. You select a path and then whether the clients will want automatic updates and then that it... The setup files appear in the designated folder, the client runs them and then get prompted to install .Net 3.5 and SQL Express 2008.... Are these components defined in the code somewhere, or when the build is completed?? As it doesn't appear obvious. As a side note, the application was designed and tested using connections to SQL Express (Locally installed), but then the connection strings were changed to use SQL 2005 (full vers)

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          nhsal69 wrote:

          then Publish.. You select a path and then whether the clients will want automatic updates

          That's what I thought. VS Express is coming up with the dependanies itself. I don't use the Express Editions, but in the full versions you can open the Project Properties dialog and there is a Publish tab in there. Clicking on that, you get a page that lists a bunch of information about how the project is, obviously, published, with a button labeled Prerequisits. Clicking on that button, you get a dialog that lists a of items that the installation will depend on being installed. On mine, I can just clear the dependancies I don't need, close the dialogs and re-publish the app.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008
          But no longer in 2009...

          N 1 Reply Last reply
          0
          • D Dave Kreskowiak

            nhsal69 wrote:

            then Publish.. You select a path and then whether the clients will want automatic updates

            That's what I thought. VS Express is coming up with the dependanies itself. I don't use the Express Editions, but in the full versions you can open the Project Properties dialog and there is a Publish tab in there. Clicking on that, you get a page that lists a bunch of information about how the project is, obviously, published, with a button labeled Prerequisits. Clicking on that button, you get a dialog that lists a of items that the installation will depend on being installed. On mine, I can just clear the dependancies I don't need, close the dialogs and re-publish the app.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008
            But no longer in 2009...

            N Offline
            N Offline
            nhsal69
            wrote on last edited by
            #5

            It's resolved now... I copied the entire Form1.vb and form1design.vb etc to notepad, created a new project and then pasted the code back into the new project.. This appears to have resolved the problem, I'm guessing that there must have been some residual "reference" somewhere which forced VB Express to require the above a pre-req, even tho they weren't utilised in the code... thanks for you thoughts anyway...

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups