MSFN Forum: CMenu - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 10 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 6
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

CMenu Context Menu for Installers. Rate Topic: ***** 2 Votes

#51 User is offline   NemoNada 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 09-November 03

Posted 16 July 2005 - 12:38 AM

:thumbup All Right!! :w00t:

Thanks for the update! I'm just having a whole lot of fun w/this utility. :P


#52 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 16 July 2005 - 01:04 AM

NemoNada, on Jul 16 2005, 04:38 PM, said:

:thumbup  All Right!!  :w00t:

Thanks for the update! I'm just having a whole lot of fun w/this utility. :P
<{POST_SNAPBACK}>

Superb, enjoy it. ;)

#53 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,604
  • Joined: 14-November 03

Posted 16 July 2005 - 01:40 AM

@MHz

very Nice Utility Dude, Thats why I like this place soo many timesavers.

#54 User is offline   1boredguy 

  • Member
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 28-August 04

Posted 16 July 2005 - 01:50 AM

i just got the new 1.5. (multiple mirrors, very nice) great upgrade from 1.4.

has anyone ever had this problem: some install app is supposed to have a "/s" switch (according to identify installer). but it just doesn't work. the prompt for user input just keeps popping up.
i tried the nifty silent install tool in Cmenu 1.5, and the prompt still comes up, so i know the install app must have some... "anti-silent" thing going on...

i've been trying to silent this install for so long. i would like to request a "send app creator to hell" feature.


anyways, keep up the good work! i'll keep an eye out for the next version.

:thumbup

#55 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 16 July 2005 - 02:06 AM

1boredguy, on Jul 16 2005, 05:50 PM, said:

has anyone ever had this problem: some install app is supposed to have a "/s" switch (according to identify installer).  but it just doesn't work.  the prompt for user input just keeps popping up.

Take a close look at Identify Installer, when it shows you the switches.
You may see descriptions like this:
(All switches MUST be upper case. No inverted comma's)

Some installers are case sensitive. NSIS likes uppercase only.

1boredguy, on Jul 16 2005, 05:50 PM, said:

i tried the nifty silent install tool in Cmenu 1.5, and the prompt still comes up, so i know the install app must have some...  "anti-silent" thing going on...
It should do most. No promises on 100% success, as depends on who created the thing. Never an installer, authored the same. The parameters sent the installer are generic.

1boredguy, on Jul 16 2005, 05:50 PM, said:

i've been trying to silent this install for so long.  i would like to request a "send app creator to hell" feature.

:D
Notify the program creator, and complain.

This post has been edited by MHz: 16 July 2005 - 02:07 AM


#56 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

  Posted 16 July 2005 - 02:54 AM

MAVERICKS CHOICE, on Jul 16 2005, 05:40 PM, said:

@MHz

very Nice Utility Dude, Thats why I like this place soo many timesavers.
<{POST_SNAPBACK}>

Thanks and you are so true.
Timesaving is an important concept. The more you save, the more you can commit, to do more. Or spend more precious time with family and friends. ;)

#57 User is offline   totoymola 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 24-September 04

Posted 17 July 2005 - 09:10 AM

Thanks dude. :) This project is really cool. :thumbup:

I have one more suggestion for your future version. I think you missed the switches for Tarma installers. :)

#58 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 17 July 2005 - 09:31 AM

totoymola, on Jul 18 2005, 01:10 AM, said:

I think you missed the switches for Tarma installers. :)
<{POST_SNAPBACK}>

I will look into it. Do you know of a small program that uses it?

#59 User is offline   totoymola 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 24-September 04

Posted 17 July 2005 - 08:49 PM

Well, it's becoming popular now. Y! Tunnel and other chat clients use it. :)

#60 User is offline   Martin Zugec 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,373
  • Joined: 24-January 04

Posted 29 July 2005 - 06:40 AM

2MHz: Few questions:

1.) Would you mind to rip Identify Installer out from CMenu?
2.) What about creating database of known switches for setups, that dont support common installation?

#61 User is offline   Wesmosis 

  • Just Call Me Doctor Just Call Me Pain!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 787
  • Joined: 20-September 04

Posted 31 July 2005 - 03:28 PM

the 2 download links are down
the rapidshare may still ok but I'm having a little problem:

Quote

This IP XXXXXXXXXXX is not allowed to use the free-service anymore today. We detected very extreme downloads. Don't worry! This has not to be your fault.
Maybe you use a proxy-server. Premium-users are not affected by this ban. Maybe you might want to get a PREMIUM-Account, too.
It is just a one-time fee and you will have access instantly. Please see our big FAQ, if you still have questions.


so any upload to have fun in the next weekend?! :P

#62 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

  Posted 01 August 2005 - 01:39 AM

Quote

2MHz: Few questions:

1.) Would you mind to rip Identify Installer out from CMenu?
2.) What about creating database of known switches for setups, that dont support common installation?

@Martin

Interesting requests.

Could you supply a reason for asking for Identify Installer's removal. This request does seem unusual, to what I would expect. Perhaps you may wish to pm your concerns?

The database idea seems interesting, but I would consider too much information to process. My spare time would be used up in adding entries into a database for all the programs that exist.


@Wesmosis
Sorry for the disappointment. A better download link, will be setup.

#63 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

  Posted 01 August 2005 - 01:41 AM

Updated to version 1.6.
Please see 1st post for information and improved download link.

Lots more incrediable features added.

#64 User is offline   cyberhrc 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 29-July 05

Posted 01 August 2005 - 06:49 AM

brilliant little tool :) +fav ;)

#65 User is offline   Wesmosis 

  • Just Call Me Doctor Just Call Me Pain!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 787
  • Joined: 20-September 04

Posted 01 August 2005 - 07:17 AM

thanx, I've mamanged to DL from rapidshare
keep this proggy alive :P

#66 User is offline   redfive19 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 17-August 04

Posted 01 August 2005 - 05:52 PM

Again thank you for such a very useful tool.

I do have one request and it may seem a bit stupid.

Is there anyway you can make it so that you can have the choice to write a simple autoit script such as:

Runwait("setup.exe /silentmode")

Reason I ask, is because I normally write my own AutoIt scripts for silent installs and I usually have something like this:

SplashTextOn('', "Installing NOD32 v2.50.25", 400, 25, -1, -1, 1, '', 14)

adorning the top of it.

To take the concept a step further, the ability to create our own autoit templates would be great (i.e., it would add that SplashTextOn to each of my scripts I generate) Just a couple ideas...

I love the app and if I am at all out of line, then my sincerest apologies.

-redfive

#67 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

  Posted 02 August 2005 - 01:09 AM

Sure, you can customize the templates. You are not out of line, as I assumed that users would like to customize the templates, from the very beginning.

This is how CMenu 1.6 does this.
It installs the template files into Program Files\CMenu\Templates. The text files are read by Identify Installer and the au3 files are read, when you create an AutoIt script.
If example Inno Setup is identified, and you want to create a script, then the Inno_Setup.au3 will be read. A file called Common_Functions.au3 will also be read, for any installer. The data will be checked for the strings, Program_name and filename.ext, and will be replaced by, for example NOD32 v2.50.25 and NOD32 v2.50.25.exe. If a recording was made of the installation, then the recorded files could be read. The variables at the top of the script may have the information added to them. The script is then created in the installers directory. That is the script making process.

Now, as Identify Installer reads these files, then if you make change to the files, in the templates folder, the output would be what you have changed them to. If you want no common functions for the scripts, then clear the code from the Common_Functions.au3, so when it is read, nothing is returned. Now you may want to customize the Inno Setup output, so you would open the Inno_Setup.au3, in your editor. Do note the strings mentioned previously, that will help to fill some information in automagically.

A sample of what you may want in the template:
; Script for Program_name

SplashTextOn('', "Program_name", 400, 25, -1, -1, 1, '', 14)

Runwait("filename.ext /silentmode")

SplashOff()

This is your custom template for Inno Setup. When it would be read by Identify Installer, and the known strings are replaced, then the output script would look like:
; Script for NOD32 v2.50.25

SplashTextOn('', "NOD32 v2.50.25", 400, 25, -1, -1, 1, '', 14)

Runwait("NOD32 v2.50.25.exe /silentmode")

SplashOff()

Now, quick and easily, the output script is created to suit your needs.
When customizing, you may want to backup the original templates, in case you want use some information from them? You should definately backup your customized templates, to prevent tragic loss.

End of lessen :)

If you are like me, and get tired of all the extra comments that display the workings in the script alot, then you may use this script.
If MsgBox(4, 'Comment remover', 'Remove comments, are you sure?') = 7 Then Exit
$read_handle = FileOpen($cmdline[1], 0)
$write_handle = FileOpen($cmdline[1] & '.temp', 2)
If $cmdline[0] = 1 Then
    _SafeRemoval()
ElseIf $cmdline[0] = 2 Then
    _FullRemoval()
EndIf
FileClose($read_handle)
FileClose($write_handle)
Sleep(100)
If FileRecycle($cmdline[1]) Then FileMove($cmdline[1] & '.temp', $cmdline[1])

Func _SafeRemoval()
    While 1
        $line = FileReadLine($read_handle)
        If @error Then ExitLoop
        $check = StringStripWS($line, 3)
        If Not (StringLeft($check, 2) = ';~') And _
            Not (StringRight($check, 1) = '.') And _
            StringLeft($check, 1) = ';' Then ContinueLoop
        FileWriteLine($write_handle, $line)
    WEnd
EndFunc

Func _FullRemoval()
    While 1
        $line = FileReadLine($read_handle)
        If @error Then ExitLoop
        $check = StringStripWS($line, 3)
        If StringLeft($check, 1) = ';' Then ContinueLoop
        FileWriteLine($write_handle, $line)
    WEnd
EndFunc

Compile it. If you drag'n'drop a script onto this, it will remove comments that do not end with a period (.). You can also add it into your editor to pass the script path to the compiled exe. Or you can pass the script path by commandline to the compiled exe.
If you pass a 2nd switch to it also, which can be anything, it will remove all comments. Not recommended, as when you come back to look at the script latter, you will need to re-interpret what the script code is accomplishing throughout.
The original script is put into the recyle bin, and the replaced by the comment removed version.
I have it setup in the Scite directory, and have added to the user options file:
# 17 Comment Remover 
command.17.$(file.patterns.au3)=comment_remover.exe "$(FilePath)"
command.name.17.$(file.patterns.au3)=Comment Remover
command.subsystem.17.$(file.patterns.au3)=1
command.save.before.17.$(file.patterns.au3)=1
command.is.filter.17.$(file.patterns.au3)=1

This will appear in the tools dropdown menu as Comment Remover, and will remove the comments without ending in a period, from the script displayed in the editor.

End of Comment Remover :)

Good luck.

#68 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,604
  • Joined: 14-November 03

Posted 02 August 2005 - 04:33 AM

@Mhz

Very nice update son.

#69 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

  Posted 02 August 2005 - 05:09 AM

cyberhrc, on Aug 1 2005, 10:49 PM, said:

brilliant little tool :) +fav ;)
<{POST_SNAPBACK}>

It is added to your favorites, very good.

Wesmosis, on Aug 1 2005, 11:17 PM, said:

thanx, I've mamanged to DL from rapidshare
keep this proggy alive :P
<{POST_SNAPBACK}>

Glad you have succeeded to get the program.

MAVERICKS CHOICE, on Aug 2 2005, 08:33 PM, said:

@Mhz

Very nice update son.
<{POST_SNAPBACK}>

Thank's MAVERICKS CHOICE

#70 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 02 August 2005 - 10:54 PM

As the website server seems to be currently down, a direct download link has been added to the 1st post. Thanks to those, who have been patient.

Share this topic:


  • 10 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 6
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy