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. need to access the value of property "SETUPEXEDIR"

need to access the value of property "SETUPEXEDIR"

Scheduled Pinned Locked Moved C#
helpworkspace
1 Posts 1 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.
  • H Offline
    H Offline
    honeyashu
    wrote on last edited by
    #1

    Below is the code which get called during generation of installer I wanted to retrieve the value of property of SETUPEXEDIR in a string.. Unable to do so.. please help using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration.Install; using System.IO; using System.Reflection; using System.Windows.Forms; namespace ABC.CustomInstallation { [RunInstaller(true)] public partial class CustomInstallation : Installer { public CustomInstallation() { InitializeComponent(); } public override void Install(System.Collections.IDictionary stateSaver) { \\-- Here i want to check the SETUPEXEDIR value----\\ if some validation skip next 2 lines... ConfigurationForm frmConfig = new ConfigurationForm(); frmConfig.ShowDialog(); base.Install(stateSaver); } } }

    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