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. Help w/ Security Issue Win7

Help w/ Security Issue Win7

Scheduled Pinned Locked Moved C#
helpannouncementphpvisual-studiocom
20 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.
  • G GenJerDan

    Where are you installing it to? (Meaning an "All Users" installation, or per User) Ran into a similar thing...set it up to make an app All Users, but forgot to make the files readable/writeable to them. Setup put them in the correct place, but without the correct permissions. No errors, but no workee, either. If using Inno, you'll need the "Permissions: users-modify;" flag in the file copy lines.

    There is water at the bottom of the ocean. My Mu[sic] My Films My Windows Programs, etc.

    J Offline
    J Offline
    Jammer 0
    wrote on last edited by
    #11

    Hmm ... unfortunately this hasn't fixed it either. I've also tried "Permissions: everyone-modify;" Back to the drawing board. Thanks GenJerDan

    Jammer My Blog | Articles | DMon | SampleSort

    G 1 Reply Last reply
    0
    • J Jammer 0

      Hmm ... unfortunately this hasn't fixed it either. I've also tried "Permissions: everyone-modify;" Back to the drawing board. Thanks GenJerDan

      Jammer My Blog | Articles | DMon | SampleSort

      G Offline
      G Offline
      GenJerDan
      wrote on last edited by
      #12

      Looking at it again, a question: That function looks to me like it is opening the selected file in its default program, yes? If so, why not just do

      System.Diagnostics.Process.Start(SelectedFile);

      and let windows itself do the grunt work?

      There is water at the bottom of the ocean. My Mu[sic] My Films My Windows Programs, etc.

      J 1 Reply Last reply
      0
      • G GenJerDan

        Looking at it again, a question: That function looks to me like it is opening the selected file in its default program, yes? If so, why not just do

        System.Diagnostics.Process.Start(SelectedFile);

        and let windows itself do the grunt work?

        There is water at the bottom of the ocean. My Mu[sic] My Films My Windows Programs, etc.

        J Offline
        J Offline
        Jammer 0
        wrote on last edited by
        #13

        on a Digital Audio workstation there maybe many editor apps and many apps with file associations to the .wav extension for instance, I need to be able to be specific about the app. It's been working fine for multiple releases of my app, then all of a sudden it's stopped working. I'm thinking of ditching Inno Setup and trying to build a new installer using WiX ...

        Jammer My Blog | Articles | DMon | SampleSort

        modified on Wednesday, March 9, 2011 3:56 AM

        G 1 Reply Last reply
        0
        • G GenJerDan

          Where are you installing it to? (Meaning an "All Users" installation, or per User) Ran into a similar thing...set it up to make an app All Users, but forgot to make the files readable/writeable to them. Setup put them in the correct place, but without the correct permissions. No errors, but no workee, either. If using Inno, you'll need the "Permissions: users-modify;" flag in the file copy lines.

          There is water at the bottom of the ocean. My Mu[sic] My Films My Windows Programs, etc.

          J Offline
          J Offline
          Jammer 0
          wrote on last edited by
          #14

          Also when asking on the Inno Setup list I was told not to add this Permissions tag to the files ...

          Jammer My Blog | Articles | DMon | SampleSort

          G 1 Reply Last reply
          0
          • J Jammer 0

            Also when asking on the Inno Setup list I was told not to add this Permissions tag to the files ...

            Jammer My Blog | Articles | DMon | SampleSort

            G Offline
            G Offline
            GenJerDan
            wrote on last edited by
            #15

            Really? What kind of sense does that make? If the app is running with the credentials of someone without permission to those files...it won't work.

            There is water at the bottom of the ocean. My Mu[sic] My Films My Windows Programs, etc.

            J 1 Reply Last reply
            0
            • J Jammer 0

              on a Digital Audio workstation there maybe many editor apps and many apps with file associations to the .wav extension for instance, I need to be able to be specific about the app. It's been working fine for multiple releases of my app, then all of a sudden it's stopped working. I'm thinking of ditching Inno Setup and trying to build a new installer using WiX ...

              Jammer My Blog | Articles | DMon | SampleSort

              modified on Wednesday, March 9, 2011 3:56 AM

              G Offline
              G Offline
              GenJerDan
              wrote on last edited by
              #16

              The suddenly stopped working part is probably Win7. The only way to track it down will be to create a debug build that logs every step of the problem area to a file saved in a public directory, then install it under a "normal" user account.

              There is water at the bottom of the ocean. My Mu[sic] My Films My Windows Programs, etc.

              J 1 Reply Last reply
              0
              • G GenJerDan

                The suddenly stopped working part is probably Win7. The only way to track it down will be to create a debug build that logs every step of the problem area to a file saved in a public directory, then install it under a "normal" user account.

                There is water at the bottom of the ocean. My Mu[sic] My Films My Windows Programs, etc.

                J Offline
                J Offline
                Jammer 0
                wrote on last edited by
                #17

                Indeed, that is my conclusion as well.

                Jammer My Blog | Articles | DMon | SampleSort

                1 Reply Last reply
                0
                • G GenJerDan

                  Really? What kind of sense does that make? If the app is running with the credentials of someone without permission to those files...it won't work.

                  There is water at the bottom of the ocean. My Mu[sic] My Films My Windows Programs, etc.

                  J Offline
                  J Offline
                  Jammer 0
                  wrote on last edited by
                  #18

                  I was thinking the same thing. To be honest, I've decided to move to WiX for my installer. I'm going to create a new installer from the ground up. I've been meaning to do this since I started using WiX at work a few months ago, I prefer it in almost every way. If the problem persists with the new installer I'll be closer to a solution! I've started this same discussion on the Inno Setup newsgroup a few times now and a few suggestions are made and then the thread goes dead and I'm no nearer a solution. Time to really shake things up I think. Thanks for all your help chap.

                  Jammer My Blog | Articles | DMon | SampleSort

                  G 1 Reply Last reply
                  0
                  • J Jammer 0

                    I was thinking the same thing. To be honest, I've decided to move to WiX for my installer. I'm going to create a new installer from the ground up. I've been meaning to do this since I started using WiX at work a few months ago, I prefer it in almost every way. If the problem persists with the new installer I'll be closer to a solution! I've started this same discussion on the Inno Setup newsgroup a few times now and a few suggestions are made and then the thread goes dead and I'm no nearer a solution. Time to really shake things up I think. Thanks for all your help chap.

                    Jammer My Blog | Articles | DMon | SampleSort

                    G Offline
                    G Offline
                    GenJerDan
                    wrote on last edited by
                    #19

                    Jammer wrote:

                    Time to really shake things up I think.

                    Almost always a good idea. :)

                    There is water at the bottom of the ocean. My Mu[sic] My Films My Windows Programs, etc.

                    J 1 Reply Last reply
                    0
                    • G GenJerDan

                      Jammer wrote:

                      Time to really shake things up I think.

                      Almost always a good idea. :)

                      There is water at the bottom of the ocean. My Mu[sic] My Films My Windows Programs, etc.

                      J Offline
                      J Offline
                      Jammer 0
                      wrote on last edited by
                      #20

                      Just finished my new WiX installer. Ran it, ran the app and bingo, everything is working now ... Hurrah for WiX!!!

                      Jammer My Blog | Articles | DMon | SampleSort

                      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