Some notes on software development... RSS 2.0
# Monday, 18 February 2008

Cropper is a great .NET screen capture utility, created by Brian Scott, that allows you to capture any part of the screen via a re-sizable window. Output can be redirected to BMP, JPG, PNG, Printer and Clipboard.
Output is created by simply moving and resizing the Cropper window to the area you want to capture and then double-clicking or pressing Enter with the Cropper window selected.

An example of Cropper in use from Brian's Blog:

Cropper can be downloaded here.

Monday, 18 February 2008 17:57:20 (GMT Standard Time, UTC+00:00)  #    -
Tools

Another great tool for extracting all files contained within an MSI package is Universal Extractor.
it has a huge supported file list and can extract files of type: exe, msi, zip, rar, cab, tar ... etc

It can be run from stand alone or via a Windows context menu from explorer.

Download it here.

Monday, 18 February 2008 17:45:04 (GMT Standard Time, UTC+00:00)  #    -
Deployment | Tools

To find out the current MSI Installer version check the version of this file:

Windows\MSI.DLL

The actual version numbers are desribed here: Windows Installer Team Blog article

Monday, 18 February 2008 17:02:14 (GMT Standard Time, UTC+00:00)  #    -
Deployment

To get the Windows folder you can use the static GetEnvironment method from the Environment class.
You need to pass in the name of the Environment variable, in this case WinDir, and it will return the correct Windows path regardless of which Windows OS the app is running on.

Environment.GetEnvironmentVariable("WinDir")

Other Environment variables available are:

  • APPDATA
  • COMPUTERNAME
  • FrameworkVersion
  • HOMEDRIVE
  • HOMEPATH
  • OS
  • SystemDrive
  • TEMP
  • USERNAME
  • USERDOMAIN
There are many others but they vary depending on the OS and applications installed. View all the Environment variables by running SET from a command line.


Monday, 18 February 2008 11:26:57 (GMT Standard Time, UTC+00:00)  #    -
C#
Navigation

Sign In
Extras
Statistics
Total Posts: 116
This Year: 0
This Month: 0
This Week: 0
Comments: 36
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2018
Hadrian Phillips

All Content © 2018, Hadrian Phillips
DasBlog theme 'Business' created by Christoph De Baene (delarou)