write protect

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • klabautermann
    Forum Member
    • Jan 2012
    • 48

    write protect

    there is the possibility to setup the name changes to protect against?
  • jassing
    Indigo Rose Customer
    • Jan 2001
    • 3124

    #2
    You can name the setup.exe that you build to anything you want.
    "to protect against..." What?

    Comment

    • klabautermann
      Forum Member
      • Jan 2012
      • 48

      #3
      I want to create a setup and the name of setup.exe protected from change!
      how and where you can adjust it?

      Comment

      • jassing
        Indigo Rose Customer
        • Jan 2001
        • 3124

        #4
        that's not possible -- an administrator can rename just about any file that is not in use...
        The closest you can come is to examine _SourceFilename and make sure it's named whatever you want, if not show a dialog/page "Sorry; file renamed, can't execute" and exit.

        Comment

        • klabautermann
          Forum Member
          • Jan 2012
          • 48

          #5
          hmm,
          my english is not so good but if I understood you correctly then you can arrange for a check to the name in the setup! right?

          If so, then the question arises just how I should proceed because it has the xxx.exe is not running when they were renamed yyy.exe is!

          Perhaps there's an example for me?

          Comment

          • jassing
            Indigo Rose Customer
            • Jan 2001
            • 3124

            #6
            Originally posted by klabautermann View Post
            you can arrange for a check to the name in the setup! right?
            Yes. Use _SourceFilename

            Originally posted by klabautermann View Post
            has the xxx.exe is not running when they were renamed yyy.exe is!
            and
            Originally posted by klabautermann View Post
            Perhaps there's an example for me?
            I think it's the other way around -- you need to provide us a small sample project to illustrate / replicate your issue.

            Comment

            Working...
            X