Jump to content

Bitcomet v0.60


leungda

Recommended Posts


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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 3 months later...

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
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...