PDA

View Full Version : filenames while extracting setup exe



NewsArchive
08-28-2008, 01:44 AM
If I don't want these filenames shows up on user screen while extracting setup exe,
what can I do here?
thanks
Darko
Clarion 6.3 9056

NewsArchive
08-28-2008, 03:40 AM
Darko,

> If I don't want these filenames shows up on user screen while extracting
> setup exe, what can I do here?
> thanks

Hmm, good question. Not easy, but hey, SetupBuilder can do it. You have to
use a little (undocumented) trick here:

To "hide" the filename in the progress dialog, use:

Call DLL "user32.dll" -- Function "GetDlgItem" (long,long)
(%_SB_WIZHWND%,4026)
Call DLL "user32.dll" -- Function "ShowWindow" (long,long) (%_SB_RETURN%,0)

See attached func1.jpg and func2.jpg

To "show" the filename in the progress dialog, use:

Call DLL "user32.dll" -- Function "GetDlgItem" (long,long)
(%_SB_WIZHWND%,4026)
Call DLL "user32.dll" -- Function "ShowWindow" (long,long) (%_SB_RETURN%,5)

Does this help?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
08-28-2008, 03:41 AM
enough to play with ...
thanks

Darko
Clarion 6.3 9056

NewsArchive
08-28-2008, 03:42 AM
> enough to play with ...
> thanks

I have attached two include scripts.

To hide the filenames in the progress dialog, add the
HideProgressFileNames.sbi using #include script...

To show the filenames, add the ShowProgressFileNames.sbi.

Friedrich

NewsArchive
08-29-2008, 01:59 AM
even better :-)
thanks, and, as a spoiled user, expecting this as check on/off with SB7 ?

Darko
Clarion 6.3 9056

NewsArchive
08-29-2008, 01:59 AM
> even better :-)
> thanks, and, as a spoiled user, expecting this as check on/off with SB7 ?

Yes, without a need to call Windows APIs :-) It will be a built-in
(individual file based checkbox) function in SB7.

Friedrich