Jump to content

7-zip With No Close Or Cancel Button


keytotime

Recommended Posts

I've managed to remove both the close and the cancel button in 7-zip. Ryan figured out a way to keep the title bar but remove the close button.

500 DIALOG 0, 0, 186, 26
STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION
CAPTION "Progress"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg"
{
  CONTROL "Progress1", 1000, "msctls_progress32", PBS_SMOOTH | WS_CHILD | WS_VISIBLE | WS_BORDER, 7, 7, 172, 14
}

7zS.7z

Link to comment
Share on other sites


Maybe I'm a newbie into this but...

how do I implement this?

a step by step explanation will really help. I downloaded the file, had to rename the single sfx inside the archive to exe, and got an "Unspecified Error" while trying to execute.

In what programming language is the "fix" made?

Link to comment
Share on other sites

how do I implement this?

1. Install 7zip - http://www.7-zip.org/

2. Make SFX archives using its cool compression levels, become happy.

3. Then find out during your unattended install's extractions of this archive, that your users love to click cancel or exit by using close button. Become sad.

4. Now download the SFX module file from the other thread.

5. Replace the file 7zS.SFX (the sfx module) in 7zip program folder with the above one.

6. Now whatever SFXes you make are not having cancel button or close button anymore, which gives your uA installs some extent of certainty (because we want to control/restrict the possible points of failure in the setup).

7. Start singing happily :P

Hoping this explains it...

Link to comment
Share on other sites

Can we see a pic of the nonothing one you made?  :wacko:  :blink:  :w00t:  :angel

kel sorry for the long delay

u can see the picture right below the letter A

-----------------------------------------A ---------------------------------------------

-----------------------------------------------------------------------------------------

u see nothing... LOL how can i post something that is invisible???

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...