Results 1 to 3 of 3

Thread: Running a package multiple times

  1. #1
    Join Date
    Dec 2001
    Location
    Hartland, Wi
    Posts
    169

    Running a package multiple times

    I have a basic MSI package that deploys SQL Server 2000 databases. It simply copies the detached database files to the appropiate directories and runs CA's to attach the databases. I have a CA that runs early on to drop the databases if they exist. This way I can deploy updated databases. The MSI package does not show in the ARP and there is nothing to "uninstall". Is there anyway I can get the package to run again as if it was never installed when I generate a new build. I would like to keep this simple for the end user. No command line parameters, just click the setup.exe.

  2. #2
    Join Date
    Oct 2001
    Location
    Home is Las Vegas, NV - Work is where they need me to be!
    Posts
    1,192
    I don't know if this works with basic types but try this:

    InstallExecuteSequence - RegisterProduct
    Condition - 0

    InstallExecuteSequence - PublishProduct
    Condition - 0

    InstallExecuteSequence - PublishFeatures
    Condition - 0

    AdvtExecuteSequence PublishProduct
    Condition - 0

    AdvtExecuteSequence - PublishFeatures
    Condition - 0

    We do this for standard projects and does work. Just create the release and give to the users <s>
    Luiz Quintela
    Information Technology Consultant


    www.luizquintela.com
    www.technosuppcenter.com
    www.technevada.com


    "Political correctness is just tyranny with manners. I wish for you the courage to be unpopular. Popularity is history's pocket change. Courage is history's true currency." (Charlton Heston)

  3. #3
    Join Date
    Jan 2002
    Location
    Australia
    Posts
    48
    Luiz,

    are there any other settings which need to be changed. I do have a standard project and I switched the maintenance OFF and changed the settings you indicated in your reply above. When I try and run the install a 2nd time, it runs through the GUI as expected BUT no files are transfered.

    I tried this both on my main project and I created a small test project and they both have the same behaviour.

    Thanks,
    Anthony.

Posting Permissions

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