Jump to content

Recommended Posts

Posted

I have no idea that how to make it for slient install. I saw some posts said have the use the .zip version. but there is no detail for it. I want to know in detail. Could someone help me?


Guest vertiligo69
Posted

Use WINRAR

Setup=bitcomet.exe /S /NCRC

Silent=1

Overwrite=1

Posted
I have no idea that how to make it for slient install. I saw some posts said have the use the .zip version. but there is no detail for it. I want to know in detail. Could someone help me?

The type of original setup file from BitComet Website is NSIS.

So you can use this with it:

BitComet_0.60.exe /S /D=<your destination directory>

I have test it , no problem

Posted (edited)

Here's instructions for a slim silent installer, but uninstall is a manual process of deleting the folder and shortcuts.

1. Download the zip version of BitComet

2. Extract the contents into a folder called "BitComet" (without quotes)

3. Optionally reduce size by removing extra language files keeping only English:

- remove ChangeLog_Chinese.txt, License_Chinese.txt, ReadMe_Chinese.txt, XCrashReport_zh_cn.exe

- remove \fav\ad\previewdlg_zh_cn.htm, and \fav\ad\previewwnd_zh_cn.htm

- remove everything else in \fav except keep my_fav.xml, fav_en_us.xml, search_en_us.mht, HowTo-AddYourSite.txt

- remove everything in \lang except lang_en_us.xml

- remove BitComet_Win9x.exe because I use XP

3. Use WinRar to create an SFX archive: (Edited Oct 5, 2005)

Select All items in the BitComet folder, right click on them and run Add to Archive...

- Compression Method = Best

- Create SFX archive

- Create solid archive

- Copy/Paste the following text into the Comment box (remove any shortcuts you don't want)

Path=%ProgramFiles%\BitComet
Silent=1
Overwrite=1

; Add Shortcut to Desktop
Shortcut=D, "%ProgramFiles%\BitComet\BitComet.exe", "", "BitTorrent Application", "BitComet"

; Add Shortcut to Start Menu - Programs
Shortcut=P, "%ProgramFiles%\BitComet\BitComet.exe", "", "BitTorrent Application", "BitComet"

; Add Shortcut to Start Menu
Shortcut=S, "%ProgramFiles%\BitComet\BitComet.exe", "", "BitTorrent Application", "BitComet"

; Add Shortcut to Startup
Shortcut=T, "%ProgramFiles%\BitComet\BitComet.exe", "", "BitTorrent Application", "BitComet"

NOTE: Silent=2 will display an extraction window, but no user interaction is required.

Edited by beeker
Posted
small correction
Path=%ProgramFiles%\BitComet

I performed a right click on the BitComet folder to Add to Archive..., so the whole folder was placed in %ProgramFiles%.

I like your idea better to archive just the files and use the Path= to create the folder name. That eliminates errors in the shortcuts if someone names their working folder something other than "BitComet".

I'll edit my original post. Thanks.

  • 3 months later...
Posted (edited)

Now that version 0.61 is out I have an Inno Setup installer creation to share:

1. Download the zip version of BitComet: http://download.bitcomet.com/achive/

2. Extract the contents into a folder called "{app}" (without quotes)

3. Reduce size by removing extra language files keeping only English:

- remove ChangeLog_Chinese.txt, License_Chinese.txt, ReadMe_Chinese.txt, XCrashReport_zh_cn.exe

- remove \fav\ad\previewdlg_zh_cn.htm, \fav\ad\previewwnd_zh_cn.htm

- remove everything else in \fav except my_fav.xml, fav_en_us.xml, search_en_us.mht, HowTo-AddYourSite.txt

- remove everything in \lang except lang_en_us.xml

- remove BitComet_Win9x.exe because I use XP

4. Copy the personal settings file found in %ProgramFiles%\BitComet\BitComet.xml and edit to include only the non standard settings similar to this:

<?xml version="1.0"?>
<BitComet Author="RnySmile" Version="0.1">
<Settings>
<ClientVersion>0.61</ClientVersion>
<StartupAutoRunTask>1</StartupAutoRunTask>
<EnableWebsiteWelcome>0</EnableWebsiteWelcome>
<MinimizeToTray>0</MinimizeToTray>
<UrlOpenInBC>0</UrlOpenInBC>
<AutoUpdateCheck>0</AutoUpdateCheck>
</Settings>
</BitComet>

5. I didn't want to overwrite the BitComet.xml file when installing over a previous version, so I made an Inno Setup Installer using the attached install_script.iss file (plus it uninstalls nicely).

6. Find a program to extract the icon out of the BitComet.exe program to create the BitComet.ico file.

7. Install Inno Setup QuickStart Pack from www.jrsoftware.org and compile the install_script.iss file.

install_script.iss

Edited by beeker

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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