Announcement

Collapse
No announcement yet.

Check the name of the Setup File

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Check the name of the Setup File

    Hello,

    I have created an excellent installer.

    But another company is downloading my installer and changing the Name of the Setup File.

    Ex.
    Setup.exe to Company.exe

    Is there any way to detect the change during or before the installation?

    Thanks

  • #2
    Here is one simple way:

    Code:
    local sExePath = SessionVar.Expand("%SourceFilename%");
    local tPath = String.SplitPath(sExePath);
    
    Dialog.Message("Information", "The program name is: " .. tPath.Filename);
    Ulrich

    Comment

    Working...
    X