Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2003
    Posts
    5

    Unanswered: Package & Deployment Wizard

    Hello,

    Did anybody ever change the source code of the setup1.vbp in the Package & Deployment Wizard. If yes please reply ASAP.
    I want to do its error handling. & run osql through the code.

    Thanks in advance.

  2. #2
    Join Date
    Feb 2004
    Posts
    37
    Hi,

    I have modified the setup1 from PDW before, it is normally stored in:
    C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1
    open setup1.vbp in this directory and program as a normal vb app.

    Brian.

  3. #3
    Join Date
    Oct 2003
    Posts
    5

    Help

    Originally posted by brianb99999
    Hi,

    I have modified the setup1 from PDW before, it is normally stored in:
    C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1
    open setup1.vbp in this directory and program as a normal vb app.

    Brian.
    Hi Brian ,
    I have already changed quite a bit of the setup1.vbp. I am able to run sql scripts in the setup1.vbp through osql command. But if ms sql server is uninstall the setup1.vbp is unable to detect that & still moves further with tha setup.
    Can you throw some light on that.
    Sunita

  4. #4
    Join Date
    Feb 2004
    Posts
    37
    Hi Sunita,

    Ahhh, I see. I thought...
    If vb is not throwing any type of error event, then the best way might be to find a reliable reference in the registry which sql always uses only when installed (maybe a version number, path or licence key), if the reference exists, then you have a pretty good idea that ms sql is on the machine (might work, but not perfect, cause if MS SQL was installed and later incorrectly removed, then the reg item you pick may still exist even though MS SQL has been removed).
    Also, make sure that VB's error handling hasn't been turned off (can't remember how this is done, just remember that there is a way and the writers of Setup1 may have done it).

    Regs,
    Brian.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •