I have some questions with regards to self extracting archives:
1) Is it possible to suppress the dialog that asks the user if they want to create the destination folder when using the DeleteZippedFiles and the default random directory?
2) When running a program using ExecuteAfter, is it possible to change the working directory to where the executable is run from some how? By default, it looks like the working directory is where the SFX EXE is run from originally.
Imported from legacy forums. Posted by Mark (had 1365 views)
I have one other question. When an executable is run from within the self-extracting archive, it is run using a short path name (i.e. the value returned by GetModuleFileName is a short path) which causes issues with MUI files on Vista/WS08. Is there any way to change this so that it gets runs with a long file name?
The file has a long file name when it is extracted and the following code was used to specify that the file should be run which also uses the long file name: