2011/09/08: NSISSharp v0.3 has been released.

Products:

NSISSharp

NSISSharp is a C# class library, which allows you to create NSIS installers, without any effort, by using C# or VB.NET.

Download / Source code / Bug report / Readme / Changelog

NSISSharp v0.3.
Date: 2011/09/08
Created by: OrangePlanet.org (http://orangeplanet.org)

About NSISSharp:
NSISSharp is a C# class library, which allows you to create NSIS installers, without any effort, by using C# or VB.NET.
What NSISSharp basically does, is:
1 It 'translates' C# code into the scripting language that is used by NSIS.
2 Generates a NSIS script.
3 Ultimately, it will automatically call the NSIS compiler to create an installer for you.


Requirements:
- .NET Framework 4.0 / http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17851
- NSIS / http://nsis.sourceforge.net/Download
- NSISSharp / http://orangeplanet.org
- Visual Studio 2010 (any edition will work) / http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-csharp-express (Visual C# 2010 Express version.)


[Using NSISSharp]

NSISSharp Installation instructions:
1. Download everything, if needed, from the requirement list.
2. Make sure you have the latest .NET Framework installed (4.0), if not, install .NET Framework 4.0.
3. Install NSIS.
4. Install NSISSharp. (It is recommended to choose atleast the 'Lite' install option on the components page).
5. Copy the NSIS header files that are provided with NSISSharp (located in the 'NSIS scripts' directory) to the 'Include' directory of NSIS (default path: %ProgramFiles(x86)%\NSIS\Include).
6. Install Visual Studio 2010.

Create and build a NSIS installer using NSISSharp:
1. Create a new console project with VS2010 with a project name of your choice.
This project will contain your setup code for the installer that you're about to create.
2. Add a reference to NSISSharp. NSISSharp should be listed as a .NET assembly, given that you have used the official NSISSharp installer.
If you have made your own build of NSISSharp, and you didn't add the necessary registry files for it to be listed under the .NET assembly tab,
then add a reference to your own build by using the 'Browse' tab.
3. Write the setup code; refer to the VS2010 examples that is provided with NSISSharp.
4. Run/build the console project. If everything went well (read as: build correctly without any errors), a NSIS installer will be created.
The NSIS installer will be created in the the output directory of your console project (default: debug/release directory; depends on what currently is set).

Build a NSIS installer with one of the NSISSharp examples (optional):
1. Navigate to where you have installed the examples and open its solution file with Visual Studio 2010.
2. Right click one of the example projects in the solution explorer -> Highlight 'Debug' -> Select 'Start new instance'.
3. An installer will be built in the output directory of the example project that you have used.


[Build NSISSharp]

Source code intructions:
1. Any of the aforementioned requirements have to be installed. From the official build of NSISSharp, you will need the NSIS scripts only.
2. Copy the NSISSharp scripts to the include directory of NSIS (default path: %ProgramFiles(x86)%\NSIS\Include).
3. Get the NSISSharp source code from Github. Link is on http://orangeplanet.org. (Bug report can be done on the Github page as well).

Building NSISSharp:
1. Open the NSISSharp solution file with Visual Studio 2010.
2. Choose between Debug/Release.
3. Right click the NSISSharp project in the solution explorer, and click Build. You can find your build in the output directory.
4. (Optional) Use the NSISSharpTestApp project to create the installer for NSISSharp. This is what is used to build the official NSISSharp installer.
Make sure that the paths of the files that are being added with the installer, are pointing to the correct locations, and omit any of them that are not relevant to you.


[License]

NSISSharp is licensed under the MIT License.
Copyright (c) 2011 OrangePlanet.org (http://orangeplanet.org)

See also: license.txt.

Changelog:

v0.3 - 2011/09/08
- Added support for custom images/icons etc.
- Added support for components page.
- Added InstallTypes.
- The (Custom)Actions parameter of the NSISProject constructer now supports multiple object arrays.
- Constructors of the x64 and x86 classes now support object arrays and its list collections is now public instead of internal.
- Small code cleanup.
- Modified the readme.txt again.
- Modified the example projects.

v0.2 - 2011/07/10.
- Added VS example.
- Added changelog.txt.
- Added recurive mode; this could be used when adding files.
- Fixed assembly version number in project settings.
- Fixed uninstall bug; in v0.1, the uninstaller itself wouldn't be deleted during the uninstall process when certain properties were set.
- Fixed internal set value bug.
- Removed CS-Script from the installer.
- Modified some variable names in the DotNetVersionNumber header file.
- Modified the readme.txt.
- Some other things I might have forgotten about...

v0.1 - 2011/06/23
- Initial release.

UpdateChromium

UpdateChromium is a small console application, that automatically updates Chromium on a machine that is running Windows.

Download / Source code / Bug report / Readme

UpdateChromium v1.
Date: 2011/09/19
Created by: OrangePlanet.org (http://orangeplanet.org / https://github.com/konome)

About:
UpdateChromium is a small console application, that automatically updates Chromium on a machine that is running Windows.

Requirements:
- A file archive utility, such as 7zip (http://7-zip.org).
- Microsoft .NET Framework 4.0 (http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17851).
- UpdateChromium (http://orangeplanet.org).

Update chromium:
1. Download the aforementioned requirements.
2. Install, if needed, 7zip (64-bit) and .NET Framework 4.0.
3. Install the official build of UpdateChromium to 'C:\Program Files (x86)\UpdateChromium'.
4. Edit the values of the settings.ini, if wanted. Most of the time the default values are fine, given that you have the 64-bit version of Windows and 7zip installed.
5. Remove any existing build of Chromium, unless the installation path matches the one from the settings.ini.
6. Run the update.bat.
7. After the update has been completed successfully, Chromium will be started.

Run the update.bat whenever you want to update Chromium again. Do note that Chromium should be closed before updating.

Parameters:
/s: Start the update. This parameter is always required, except when /r is used.
/f: Force update; this will update Chromium regardless if the latest version is already installed.
/e: Run Chromium after update.
/r: Reset settings; a new settings.ini will be generated, containing the default values.

Source code instructions
1. Get the source code from github.
2. Open the UpdateChromium solution file (UpdateChromium.sln).
3. Right click the project in the solution explorer, and click Build. You can find your build in the output directory.
4. Put your own build of UpdateChromium.exe in the 'C:\Program Files (x86)\UpdateChromium' directory, assuming you haven't installed the official build.
5. Open a new cmd window, and navigate to the directory of your build.
6. Type UpdateChromium.exe /r to generate a new settings.ini, containing the default values.
7. Edit the values of the settings.ini if you wish.
8. Type UpdateChromium.exe /s /e to start the update, and run Chromium afterwards.
9. (Optional) Create a batch file, containing the command in the above step to make updating easier.

License:
UpdateChromium is licensed under the MIT License.
Copyright (c) 2011 OrangePlanet.org (http://orangeplanet.org / https://github.com/konome).

See also: license.txt.