Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
<SparTacuS>

7z sfx without Cancel Button - DONE

Recommended Posts

I have been playing around with 7z after trying the excellent tutes of Astalavista & evilvoice. Mainly trying to figure out what was going on with these sfx modules (I know I'm dense).

Whilst replacing the icon in one such file I also tried deleting the Cancel button from the Dialog (and resizing it to suit)

It works fine. Still get a progress bar but check it out. This is an Office package as per Astalavistas tutorial. Cancel button removed using Reshacker.

post-80-1107614204_thumb.jpg

Share this post


Link to post
Share on other sites

HELL that is GREAT!!!! :thumbup

ok I did it I remove the cancel button and edited the base icon. yahoo!!!

thanks I feel so stupid not thinking of it earlier.

I did not change the icon anymore with the attached file. You guys :rolleyes: can edit it with res hacker. Yahoo

time to edit my nero and office now. yahooooooo :thumbup

I repacked all my 7zip files hehehehhe all working

7zS.rar

Share this post


Link to post
Share on other sites

By request - a simple tutorial;

1. Make a copy of the 7zS.sfx module from the 7zip folder (so you don't screw-up the original).

2.Start ResHacker and open your copy of the sfx.

3. Expand the Dialog branch in the left pane and navigate to 500\1033. You should see the extraction dialog in a small window and its properties in the right pane of the main window (see attached picture).

4. Click on the "Cancel" button of the Dialog and you will see that it is highlighted. Now hit your "Delete" key. Yea - it's gone.

5. Compile the script (use "Compile Script" button)

6. If you want to resize the dialog to get rid of the empty grey where the button was, you now need to pay attention to the first line of the properties window.

7. It says

500 DIALOG 0, 0, 186, 55

The 186 is the current width and the 55 is the current height - edit them to your taste.

8. Compile the script to see the changes.

9 Save the hacked file - a backup should have been made of your original copy.

Now - is anyone brave enough to try deleting the progress bar and setting the dialog size to 1,1 so it's pretty much invisible?

post-80-1107655443_thumb.jpg

Share this post


Link to post
Share on other sites

Yahoo i wiped out the entire box...

thanks ryan for the tip.

Attention Sixpack for you.

Attached below is a automated 7zip sfx for our DP (drivers pack)

warning... if u dont know what i am talking about here. Do not use this method.

it is for sixpack, Bashrat and rougespear (i hope i spelled that right :) )

Instructions

1. go to your $OEM$\$1

2. Extract your DP.exe

3. Delete your DP.exe

4. Download the file below and extract it into your %programfiles%\7zip Folder

5. Right Click on DP folder in $OEM$\$1

6. Select Add to Archive

7. Set to Ultra and then to Create SFX

now during T-39 we will have a totally silent extraction of our DP drivers hahhahahah!!!!

7zC.rar

Share this post


Link to post
Share on other sites

I actually could have made a better batch to remove the other files but was so excited. I just wanted to share it with u. I tested this already no gui at all.

Share this post


Link to post
Share on other sites

OH..... MY.... GOD!!!!11

7zip SFX ?

No Cancel button ?

heck, no extraction dialog box even ?

A hearty pat on the back for you Spartacus! This is great news. :D

Combined with its compression ratio, this works wonders for uA!

Share this post


Link to post
Share on other sites

Old news.... :zzz:

I've been doing this type of thing at work with winrar for ages. Heck they even want you to do it, hence why they offer uncompressed extraction engines for download.

Move along people, nothing to see here....

Share this post


Link to post
Share on other sites

No setting to 0,0 still gives you a small box. You have to remove some header.

500 DIALOG 0, 0, 186, 55
STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Progress"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg"
{
  CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 61, 34, 64, 14
  CONTROL "Progress1", 1000, "msctls_progress32", PBS_SMOOTH | WS_CHILD | WS_VISIBLE | WS_BORDER, 7, 7, 172, 14
}

to

500 DIALOG 0, 0, 0, 0
STYLE WS_POPUP
CAPTION "Progress"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg"
{
}

Share this post


Link to post
Share on other sites
Old news.... :zzz:

I've been doing this type of thing at work with winrar for ages. Heck they even want you  to do it, hence why they offer uncompressed extraction engines for download.

Move along people, nothing to see here....

Oh, but that's winrar. And this is 7zip.

And yes, its interesting for a lot of people, so you can't say that its old news for them.

Anyways, it would be nice to know a few more tips that you know. Considering you knew this one since a lot of time. :yes:

Share this post


Link to post
Share on other sites

id be interested to see if any1 was able 2 get descent looking icons to work with 7zip's FileManager (gui part of 7zip)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...