Help - Search - Members - Calendar
Full Version: CMenu
MSFN Forums > Unattended Windows Discussion & Support > Application Installs
Pages: 1, 2, 3, 4

   


Google Internet Forums Unattended CD/DVD Guide
NemoNada
thumbup.gif All Right!! woot.gif

Thanks for the update! I'm just having a whole lot of fun w/this utility. tongue.gif
MHz
QUOTE (NemoNada @ Jul 16 2005, 04:38 PM)
thumbup.gif  All Right!!  woot.gif

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

Superb, enjoy it. newwink.gif
MAVERICKS CHOICE
@MHz

very Nice Utility Dude, Thats why I like this place soo many timesavers.
1boredguy
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.gif
MHz
QUOTE (1boredguy @ Jul 16 2005, 05:50 PM)
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:
CODE
(All switches MUST be upper case. No inverted comma's)

Some installers are case sensitive. NSIS likes uppercase only.

QUOTE (1boredguy @ Jul 16 2005, 05:50 PM)
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.

QUOTE (1boredguy @ Jul 16 2005, 05:50 PM)
i've been trying to silent this install for so long.  i would like to request a "send app creator to hell" feature.

biggrin.gif
Notify the program creator, and complain.
MHz
QUOTE (MAVERICKS CHOICE @ Jul 16 2005, 05:40 PM)
@MHz

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

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. newwink.gif
totoymola
Thanks dude. smile.gif This project is really cool. thumbup.gif:

I have one more suggestion for your future version. I think you missed the switches for Tarma installers. smile.gif
MHz
QUOTE (totoymola @ Jul 18 2005, 01:10 AM)
I think you missed the switches for Tarma installers. smile.gif
*

I will look into it. Do you know of a small program that uses it?
totoymola
Well, it's becoming popular now. Y! Tunnel and other chat clients use it. smile.gif
Martin Zugec
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?
Wesmosis
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?! tongue.gif
MHz
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.
MHz
Updated to version 1.6.
Please see 1st post for information and improved download link.

Lots more incrediable features added.
cyberhrc
brilliant little tool smile.gif +fav newwink.gif
Wesmosis
thanx, I've mamanged to DL from rapidshare
keep this proggy alive tongue.gif
redfive19
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
MHz
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:
CODE
; 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:
CODE
; 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 smile.gif

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.
CODE
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:
CODE
# 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 smile.gif

Good luck.
MAVERICKS CHOICE
@Mhz

Very nice update son.
MHz
QUOTE (cyberhrc @ Aug 1 2005, 10:49 PM)
brilliant little tool smile.gif +fav newwink.gif
*

It is added to your favorites, very good.

QUOTE (Wesmosis @ Aug 1 2005, 11:17 PM)
thanx, I've mamanged to DL from rapidshare
keep this proggy alive tongue.gif
*

Glad you have succeeded to get the program.

QUOTE (MAVERICKS CHOICE @ Aug 2 2005, 08:33 PM)
@Mhz

Very nice update son.
*

Thank's MAVERICKS CHOICE
MHz
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.
coucou
Hi,

TNX for this very usefull utility thumbup.gif

I've 2 questions.
1) Does CMenu "Execute with Parameters" the .msi files???
2) What does "Start in" in "Execute with Parameters" used for and how to use it???

In fact I tested installing MsnMsgs.msi with parameters IAGREE="Yes" ADDEXPLORERTOOLBAR="" SETSEARCHENGINE="" SETHOMEPAGE="" /QB and Start in empty... Nothing happens! Messenger wasn't installed.

Again TNX for this nice utility
coucou
MHz
1) Yes, "Execute with Parameters" supports .msi files.
2) "Start in" sets the initial working directory for the file being executed. Normally installers do not need this to be entered. When you look at the properties of a shortcut, you will see a "Start in" edit field. Some programs will not run, unless they have this Start in field, so they can see their support files. I believe MS Office is one that requires it. So If you execute "C:\Program Files\Office\WinWord.exe", the Start in may require "C:\Program Files\Office" to run, or perhaps another folder to have as it's working directory.

Msi files are called with msiexec. The /i switch for installing msi files would be required. So you would use:
CODE
/i | IAGREE="Yes" ADDEXPLORERTOOLBAR="" SETSEARCHENGINE="" SETHOMEPAGE="" /QB

Above would br the same as if you typed in a command prompt:
CODE
msiexec /i "Path\to\the\file.msi" IAGREE="Yes" ADDEXPLORERTOOLBAR="" SETSEARCHENGINE="" SETHOMEPAGE="" /QB


Msiexec is always executed with "Execute with Parameters" as to executing msi files. Typing /? as a parameter and executing will show you the required parameters to use it.

I will update the helpfile to help clarify that msiexec is called directly for msi files. Originally, Comspec was used, so the /i switch could have been left omitted.

HTH
newwink.gif
coucou
TNX MHZ for yr clear explanation. thumbup.gif

In fact, until today i used a small and Freeware utility (75k only):
Parametriser it's not executing .msi files but have a usefull function "remember the previous 10 entries". May be you can integrate a similar one.

BTW it is possible to add other function such
1) here enclosed SizeLoader (57K only) which display by right-click the folder size
2) MakeISO by Yzöwl

Regards
coucou
MHz
MakeISO should be possible to add. Not sure of the others at the moment.
coucou
Here another function suggestion to add to "File Management" A .INF file for registering / Unregistering your object libraries..
This power of this code is in the .INF file that updates the registry. The d2 Register/Unregister DLLOCX 2.0 is a 2nd generation release. If you are developing ActiveX components, you totally know "REGSVR32.EXE" isn't part of RAD at all. With d2 Register/Unregister DLLOCX 2.0 it's much quicker: Simply right-click an OCX or DLL file and select "Register control"/ "Unregister control" (for OCX files) or "Register library"/"Unregister library" (for DLL files) from the appearing menu.

coucou
jjn1056
Is anyone mirroring this app? I just get "Bandwidth exceeded" when I try the links from the first post of page one?

It looks cool, I'd like to try it smile.gif
MHz
Upon check, the Website seems to be down on the WebServer currently, but the direct download on the FTPServer is operational.

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

Updated:
AutoIt installation scripts have been upgraded to have a more streamlined layout.
Help file upgraded with the above changes and a summary of AutoIt installation script interpretation.
Any minor improvements.
glent
Any chance of a mirror?, Bashrat is having hosting problems atm
MHz
CMenu shares the servers that the Bashrat driver packs use. So what happens to one, happens to the other. WPI will have some problems also? as WPI also share the same servers. Bashrat handles the hosting...
glent
Huh yes I already know that tongue.gif , I meant could you uplaod to rapidshare newwink.gif
benners
If MHz doesn't mind I have upped the latest version to my ISPs free webspace, mirror, if you can it might be better to add it to the front page.
MHz
Thanks for the help, benners. Link added to 1st page. This should help until hosting issue is fixed.
Paul 365
Thanks for a great program

Is there anyway to force it to launch when i just right click the desktop, so i can use it to launch some of my small apps that have no installer or start menu entries.

Many thanks
MHz
It is already in your right-click menu when you have installed it. You can look in the More Options branch for the CMenu subbranch which has the Help Guide. This will let you know of the CMenu Editor. The editor can add programs to the contextmenu, and allows a parameter to be passed to the program added to launch it.
Paul 365
It's not there for me, Only when i right click a folder or files does the more options show up.

What i would like is for it to show up when i right click empty space on my desktop.

Paul
MHz
Just file and folder handling. That is the limitation of it.
atomizer
CMenu -- handier than a can of beans in a fartting contest huh.gif
atomizer
i read through most of this thread, but not all, so i apologize if this has been requested before...

in order of importance...

add CMenu to context menu when clicking on empty area of desktop/explorer

the ability to drag and drop CMenu menu items within the editor (otherwise have to delete and add new if wanting to move an item).

the ability to save the CMenu registry entries (as *.reg, etc.) for when a reinstall is necessary, etc..

the ability to manage the whole explorer context menu, not just CMenu items -- and i understand that this may be an unreasonable request.

what a cool tool!
MHz
QUOTE (atomizer @ Aug 29 2005, 10:01 PM)
add CMenu to context menu when clicking on empty area of desktop/explorer
*

As mentioned a couple of posts back. Just file and folder handling. That is the limitation of it.

QUOTE (atomizer @ Aug 29 2005, 10:01 PM)
the ability to drag and drop CMenu menu items within the editor (otherwise have to delete and add new if wanting to move an item).
*

Sounds nice, but the editor will not be changed.

QUOTE (atomizer @ Aug 29 2005, 10:01 PM)
the ability to save the CMenu registry entries (as *.reg, etc.) for when a reinstall is necessary, etc..
*

Look in the help guide under Installation topic. This was added some versions ago.

QUOTE (atomizer @ Aug 29 2005, 10:01 PM)
the ability to manage the whole explorer context menu, not just CMenu items -- and i understand that this may be an unreasonable request.
*

This has a connection to the 2nd request, as I did not create the editor nor the shell extension dll that allows CMenu to operate. Unless Revenger.inc decide to upgrade them, then this is best result available. I will not alter either of these 2 files.

Thanks for the idea's though.
And I liked your can of.... line. laugh.gif
urie
MHz great program but just wanted to say it does not identify files compiled with the new inno setup v5.1.5, also there is a new version of innounp out Version 0.17 Supports Inno Setup versions 3.0.0-beta through 5.1.5 just wanted to let you know hope this is of some help to you keep up the great work. biggrin.gif
atomizer
QUOTE (MHz @ Aug 30 2005, 02:25 AM)
QUOTE (atomizer @ Aug 29 2005, 10:01 PM)
add CMenu to context menu when clicking on empty area of desktop/explorer
*

As mentioned a couple of posts back. Just file and folder handling. That is the limitation of it.
*


is that a limitation by choice, or another reason?

i ask because i've inserted a few frequently used apps into the menu and it would be great to launch them anywhere, at anytime smile.gif
MHz
@urie
Thanks. I have noticed the problem myself. Inno Setup v5.1.5 and up need different identification and innounp to work with. It will be fixed in the next version.

@atomizer
The shell extension is not of my creation, so I have no choice available. Information is passed from the extension to CMenu.exe. Choice is available with CMenu.exe that I created. If the entension is not shown on the area or selection, then CMenu is unavailable.
atomizer
MHz - ah, i see. so where does the shell ext. come from (so i can go and nag them) smile.gif
MHz
QUOTE (atomizer @ Sep 3 2005, 12:07 PM)
MHz - ah, i see. so where does the shell ext. come from (so i can go and nag them) smile.gif
*

The author's webpage is here.

Nagging may prove useless? sad.gif
QUOTE
2003 Jul 11
Revenger inc. suspends all operations.
atomizer
MHz, don't mean to be a pest, but i'm sure you realize that the source for CMenuExtender is available. is there something in the license that would prevent you from modifying and redistributing it perhaps?
MHz
I will not alter the shell extension library. This would affect the editor, perhaps a rewrite of CMenu to acommodate the changes...
The current extension works fine. This is my final discision on this matter.
MHz
Updated to version 1.8.
Please see 1st post for information and download link.

Updated and good features added.
NemoNada
Thanks MHz thumbup.gif

This is really a great product. I find myself using it more and more everyday and the majority of my work isn't UA stuff!

Keep up the good work! yes.gif

Ps. what do you think about having people contribute "add-ons" or features they've developed themselves to work w/CMenu? Any interest? Anyone?
The Black Cloud
hello

first thank you for this very nice program

but i want to ask if it is support windows XP X64

thanks again
MHz
Glad you like it.
I do not have a Windows XP X64 system to test on. I would assume that it will work, but cannot be certain of it.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.