RPeters wrote: > Peter Gore wrote: > >> Hi, >> >> The online help says of SFXAutoRun >> >> >> >> If True, extraction of the SFX contents will be performed automatically, >> no user actions are required. NOTE: This works only if the SFX's >> filename starts with an exclamation mark ( ! ) -for security reasons- >> For example: !AUTORUN.EXE WARNING: Use this only in rare cases! We >> advise you NOT to use this because files will be extracted onto the >> user's disk without his knowledge. >> >> >> >> For me, setting autorun to true seems to work irrespective of whether >> the filename starts with an ! or not. (which is what I actually want). >> >> >> >> Can I rely on this changed behaviour? >> >> >> >> Regards >> >> >> >> Peter Gore >> >> Intel Systems Manager >> >> (ddi) 01277 376433 >> >> (swb) 01277 372916 >> >> (mob) 07891 911989 >> >> >> >> >> >> >> >> __________________________________________________________________________ >> Martin McColl Ltd, Ashwells Road, Brentwood, Essex CM15 9ST >> >> This e-mail including any attachments is intended only for the addressee >> named above and it may contain confidential or privileged information. >> If you are not the intended recipient please notify the sender and note >> that the contents must not be disclosed to anyone else, no copies can be >> taken and all existing copies must be destroyed. >> Martin McColl Ltd will not be liable for any error in transmission. >> You should carry out your own virus checks before opening any attachments. >> Opinions, conclusions and other information in this message >> and attachments that do not relate to the official business >> of Martin McColl Ltd are neither given nor endorsed by it. >> >> ----------- >> To unsubscribe from this list, send an empty e-mail >> message to: >> delphizip-request@xxxxxxxxxxxxx >> and put the word unsubscribe in the subject. >> >> > I will have to have a look to see how it changed (accident or design) to > know that. > But remember how dangerous it is and that quite possibly it could have > problems under Vista or beyond. > Russell Peters > ----------- > To unsubscribe from this list, send an empty e-mail > message to: > delphizip-request@xxxxxxxxxxxxx > and put the word unsubscribe in the subject. > Looking at SFXInteface.pas I can see another option involved with this - soCheckAutoRunFileName, // can only autorun if !... or setup.exe and in the SFX code // check autorun flag if (soAutoRun in Options) and (soCheckAutoRunFileName in Options) then begin if not (CompareText(ExtractFileName(VStr_ExeName), 'Setup.exe') or (ExtractFileName(VStr_ExeName)[1] = '!')) then Exclude(Options, soAutoRun); end; So I think it is safe to assume that this will continue to work that way unless someone decides to change it in a future version. I have not changed it in the next version although personally I think it should only be allowed if a command line switch was used - unfortunately that requires extra code which we try to avoid. Russell Peters ----------- To unsubscribe from this list, send an empty e-mail message to: delphizip-request@xxxxxxxxxxxxx and put the word unsubscribe in the subject.