How to silently install TextPad with a multi-user license

Instructional HowTos, posted by users. No questions here please.

Moderators: AmigoJack, helios, bbadmin, Bob Hansen, MudGuard

Post Reply
User avatar
bbadmin
Site Admin
Posts: 786
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

How to silently install TextPad with a multi-user license

Post by bbadmin »

Assumptions:
  1. Knowledge of Windows Command Prompt commands and environment variables.
  2. Your download folder is at C:\Users\your-login-id\Downloads. (i.e. %HOMEPATH%\downloads)
If you prefer, you can drag and drop the files using File Explorer, rather than using the command prompt copy and move commands.

1. Download the necessary files to your download folder: 2. Generate a license key file:
  1. Run the setup program to install TextPad normally.
  2. Run TextPad and input your license key data (from "BEGIN" to "END") using the Update License command on the Help menu.
  3. Uninstall TextPad from Start » Settings » Apps.
  4. Check that %ProgramData%\Helios\TextPad\TextPadPKE.xml exists. (Paste "%ProgramData%\Helios\TextPad" into File Explorer's Address box.)
3. Set up for silent install:
  1. In Windows Search box, type "cmd.exe"
  2. Right click "cmd.exe" and choose Run as Administrator.
  3. Type the following commands:

    Code: Select all

    cd %HOMEPATH%\documents
    mkdir TextPad
    cd TextPad
    mkdir CommonAppData
    move %ProgramData%\Helios\TextPad\TextPadPKE.xml CommonAppData
    copy %HOMEPATH%\downloads\setupv9.exe .
    copy %HOMEPATH%\downloads\LicenseKey.mst .
    setupv9.exe /s /x /b"." /v"/qn"
  4. Check that %ProgramData%\Helios\TextPad\TextPadPKE.xml no longer exists.
4. Perform a silent install:

Run the following command as administrator from %HOMEPATH%\documents\TextPad. (You may need to change "9.3" to correspond to the version you are installing.)

Code: Select all

msiexec.exe /quiet /i "TextPad 9.3.msi" TRANSFORMS=LicenseKey.mst
Check that %ProgramData%\Helios\TextPad\TextPadPKE.xml exists again.

If it doesn't, rerun the installer in interactive mode and check for error messages.

Code: Select all

msiexec.exe /i "TextPad 9.3.msi" TRANSFORMS=LicenseKey.mst
Post Reply