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. C#
  4. Setup and Deployment Issue!

Setup and Deployment Issue!

Scheduled Pinned Locked Moved C#
helpcsharpsysadminworkspace
8 Posts 3 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.
  • S Offline
    S Offline
    Sr Frank
    wrote on last edited by
    #1

    Hello Everyone, I have created a desktop application in VisualStudio2008 using C#. Now I am creating setup project for this application. I am really very new for the setup and deployment project so I googled few documents and got some idea about it, but still I am unable to fix my issue. Basically I want this application should install on users profile on stratup programs, so whenever users logs in application should start automatically. I really appreciate if you guys can provide me solution for my small problem. I am creating setup in VS2008. Thanks.

    K S 2 Replies Last reply
    0
    • S Sr Frank

      Hello Everyone, I have created a desktop application in VisualStudio2008 using C#. Now I am creating setup project for this application. I am really very new for the setup and deployment project so I googled few documents and got some idea about it, but still I am unable to fix my issue. Basically I want this application should install on users profile on stratup programs, so whenever users logs in application should start automatically. I really appreciate if you guys can provide me solution for my small problem. I am creating setup in VS2008. Thanks.

      K Offline
      K Offline
      Keith Barrow
      wrote on last edited by
      #2
      1. Right click the installer project in Solution View, select View --> File System
      2. Right Click "File System on Target Machine" --> Add Special Folder --> User's Startup Folder
      3. Select the Application Folder, Right click the Primary output & Create Shortcut.
      4. Move the shortcut to the Startup folder created in Step 2.

      CCC solved so far: 2 (including a Hard One!) 37!?!! - Randall, Clerks

      1 Reply Last reply
      0
      • S Sr Frank

        Hello Everyone, I have created a desktop application in VisualStudio2008 using C#. Now I am creating setup project for this application. I am really very new for the setup and deployment project so I googled few documents and got some idea about it, but still I am unable to fix my issue. Basically I want this application should install on users profile on stratup programs, so whenever users logs in application should start automatically. I really appreciate if you guys can provide me solution for my small problem. I am creating setup in VS2008. Thanks.

        S Offline
        S Offline
        Seishin
        wrote on last edited by
        #3

        maybe instead of installer feature make it an application setting.. using registry for example: RegistryKey key = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Run", true); key.SetValue("%app_name%", Application.ExecutablePath); key.Close();

        life is study!!!

        S 1 Reply Last reply
        0
        • S Seishin

          maybe instead of installer feature make it an application setting.. using registry for example: RegistryKey key = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Run", true); key.SetValue("%app_name%", Application.ExecutablePath); key.Close();

          life is study!!!

          S Offline
          S Offline
          Sr Frank
          wrote on last edited by
          #4

          Problem not solved yet!

          K 1 Reply Last reply
          0
          • S Sr Frank

            Problem not solved yet!

            K Offline
            K Offline
            Keith Barrow
            wrote on last edited by
            #5

            In what sense is it not solved yet? You are going to have to give us all a clue!

            CCC solved so far: 2 (including a Hard One!) 37!?!! - Randall, Clerks

            S 1 Reply Last reply
            0
            • K Keith Barrow

              In what sense is it not solved yet? You are going to have to give us all a clue!

              CCC solved so far: 2 (including a Hard One!) 37!?!! - Randall, Clerks

              S Offline
              S Offline
              Sr Frank
              wrote on last edited by
              #6

              My setup should create a copy of "exe" here.. "Users\Guest\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\startup\My.exe" so when users logon to his system then it will run automatically... If there are anyother way to do that please let me know.

              S 1 Reply Last reply
              0
              • S Sr Frank

                My setup should create a copy of "exe" here.. "Users\Guest\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\startup\My.exe" so when users logon to his system then it will run automatically... If there are anyother way to do that please let me know.

                S Offline
                S Offline
                Seishin
                wrote on last edited by
                #7

                in the directory you pointed should be only a shortcut.. and it's done in a way keefb described

                life is study!!!

                S 1 Reply Last reply
                0
                • S Seishin

                  in the directory you pointed should be only a shortcut.. and it's done in a way keefb described

                  life is study!!!

                  S Offline
                  S Offline
                  Sr Frank
                  wrote on last edited by
                  #8

                  Yes worked!! Thanks guys...

                  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