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 / C++ / MFC
  4. GEt path of msi

GEt path of msi

Scheduled Pinned Locked Moved C / C++ / MFC
help
7 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.
  • P Offline
    P Offline
    p_1960
    wrote on last edited by
    #1

    Hi, Suppose if i have an test.msi in my machine and im executing it (by double clicking on it..)now the requirement is i need to get the path of the msi from where it"s getting executed...Please help me...and correct me if im wrong..

    R N 2 Replies Last reply
    0
    • P p_1960

      Hi, Suppose if i have an test.msi in my machine and im executing it (by double clicking on it..)now the requirement is i need to get the path of the msi from where it"s getting executed...Please help me...and correct me if im wrong..

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      And what does it have to do with C++?

      It is a crappy thing, but it's life -^ Carlo Pallini

      P 1 Reply Last reply
      0
      • R Rajesh R Subramanian

        And what does it have to do with C++?

        It is a crappy thing, but it's life -^ Carlo Pallini

        P Offline
        P Offline
        p_1960
        wrote on last edited by
        #3

        i need to getpath from where msi is getting executed....

        R 1 Reply Last reply
        0
        • P p_1960

          i need to getpath from where msi is getting executed....

          R Offline
          R Offline
          Rajesh R Subramanian
          wrote on last edited by
          #4

          I said "And what does it have to do with C++"? Again, which msi? A specific installer or any msi? You want to be notified of an msi file being executed, or you want your code to be within the msi file and be able to determine the path where it is being executed from? If you are too lazy to explain your issue, then why do you think anyone should take their time to give you a decent answer? (not to mention without knowing what the query itself is.)

          It is a crappy thing, but it's life -^ Carlo Pallini

          P 1 Reply Last reply
          0
          • R Rajesh R Subramanian

            I said "And what does it have to do with C++"? Again, which msi? A specific installer or any msi? You want to be notified of an msi file being executed, or you want your code to be within the msi file and be able to determine the path where it is being executed from? If you are too lazy to explain your issue, then why do you think anyone should take their time to give you a decent answer? (not to mention without knowing what the query itself is.)

            It is a crappy thing, but it's life -^ Carlo Pallini

            P Offline
            P Offline
            p_1960
            wrote on last edited by
            #5

            Sorry for not being clesr.... i want my code(may be any script also..) to be within the msi file and be able to determine the path where it is being executed from...

            R 1 Reply Last reply
            0
            • P p_1960

              Sorry for not being clesr.... i want my code(may be any script also..) to be within the msi file and be able to determine the path where it is being executed from...

              R Offline
              R Offline
              Rajesh R Subramanian
              wrote on last edited by
              #6

              Your query is not relevant here. Try the General IT issues[^] instead, or even better find out some setup and deployment community and ask your query there.

              It is a crappy thing, but it's life -^ Carlo Pallini

              1 Reply Last reply
              0
              • P p_1960

                Hi, Suppose if i have an test.msi in my machine and im executing it (by double clicking on it..)now the requirement is i need to get the path of the msi from where it"s getting executed...Please help me...and correct me if im wrong..

                N Offline
                N Offline
                Narendra Reddy Vajrala
                wrote on last edited by
                #7

                Hi, did you got the solution for this? how to get the .msi path means from which location we are installing? if you got please share that code i really need that urgent Thanks In Advance --Naren

                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