How to silently install TextPad with a multi-user license

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

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

Post Reply
User avatar
bbadmin
Site Admin
Posts: 878
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 .
    REM Extract the MSI file:
    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.5" to correspond to the version you are installing.)

Code: Select all

msiexec.exe /quiet /i "TextPad 9.5.msi" TRANSFORMS=LicenseKey.mst /l*v "log.txt"
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.5.msi" TRANSFORMS=LicenseKey.mst
cfisherubg
Posts: 1
Joined: Wed Jul 10, 2024 1:12 pm

Re: How to silently install TextPad with a multi-user license

Post by cfisherubg »

I am following these instructions and everything appeared to go as planned except the actual install with the .msi. If I use the command line

Code: Select all

msiexec.exe /quiet /i "TextPad 9.5.msi" TRANSFORMS=LicenseKey.mst
it fails to install. If I take off the /quiet parameter and interactively install it goes through the license agreement then next, next and after Install it gives this error:
Error 2602. The File table entry 'customicons.svg' has no associate entry in the Media table.
I am attempting to prepare a silent install that uses our multiuser license so I can push it via SCCM. I haven't done anything in SCCM so far. I'm just trying to make it work with a command prompt line.
Last edited by AmigoJack on Wed Jul 10, 2024 4:52 pm, edited 1 time in total.
Reason: formatting; wording slightly
User avatar
bbadmin
Site Admin
Posts: 878
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Re: How to silently install TextPad with a multi-user license

Post by bbadmin »

Hi, thanks for reporting this issue.

The transform file was not updated to take account of the additional file which was installed. Please download it again from

https://www.textpad.com/file?path=orca/LicenseKey.mst.
Post Reply