do something on 1st run RRS feed

  • Question

  • hi!

    is there a way to do something specifically on the first run only (like create a new table in sql)? or is it more advisable to always check if the created table exists and if not create it?



    Wednesday, July 11, 2007 5:39 AM


  • Hi


    you check if the app has already run via a number of ways..

    - set a variable in the registry

    - set a variable in a config file

    - etc


    however, creating tables in sql and so on is probably something you would better do via custom actions while installing your application:



    Hope this helps you out

    Wednesday, July 11, 2007 6:22 AM