LyXUnable to Launch LYX | Missing Platex.INI

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
evana
Posts: 15
Joined: Tue Apr 11, 2023 8:23 pm

Unable to Launch LYX | Missing Platex.INI

Post by evana »

I have installed MikTeX and then installed latest version of LyX (LyX-237-Installer-1-x64.exe).

When trying to launch the LyX.exe from C:\Program Files\LyX 2.3\bin\LyX.exe, receiving Prompt to install Platex.INI.

Could you check and let me know if I am missing something here?


Thanks,
Pranitha
Attachments
LyX.PNG
LyX.PNG (16.12 KiB) Viewed 14709 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Unable to Launch LYX | Missing Platex.INI

Post by Stefan Kottwitz »

Hi Evana,

welcome to the forum!

Did you install a complete MikTeX? The screenshot says that packages are missing, you can install them with the MikTeX package manager.

Stefan
LaTeX.org admin
evana
Posts: 15
Joined: Tue Apr 11, 2023 8:23 pm

Unable to Launch LYX | Missing Platex.INI

Post by evana »

yes, complete MikTeX package is installed when tested the installation of LyX. Could you help me on creating a local repository for LyX, it says to use MikTeX setup utility, https://miktex.org/howto/local-repository

Will this approach work by giving same path as MikTeX

- miktexsetup --verbose --local-package-repository=/PATH/TO/REPOSITORY --package-set=complete download
evana
Posts: 15
Joined: Tue Apr 11, 2023 8:23 pm

Unable to Launch LYX | Missing Platex.INI

Post by evana »

To give more context, I received the below URL when clicked on "how to create local repository'
evana
Posts: 15
Joined: Tue Apr 11, 2023 8:23 pm

Unable to Launch LYX | Missing Platex.INI

Post by evana »

Hi Team,

Could you check the below and update here?

Thanks,
Pranitha
evana
Posts: 15
Joined: Tue Apr 11, 2023 8:23 pm

Unable to Launch LYX | Missing Platex.INI

Post by evana »

Hi Team,

We are trying to install Miktex and Lyx firm wide via command line approach as below,

MikTex:
miktexsetup_standalone.exe --quiet --shared=yes --local-package-repository=\"C:\\Windows\\Temp\\MiKTeX22.10\" --package-set=basic install"

LYX:
LyX-237-Installer-1-x64.exe /S

We have set dependency of Miktex for LYX in SCCM. So, when I initiate the installation of LYX, the package took care of installing MikTex and LYX,

However, receiving the error after launching the LYX app, attached the screenshot.

We don't have Platex package in our firm, could you let us know if we can copy Platex file separately in to Miktex package. how can we proceed here?


Thanks,
Pranitha
Attachments
LYX.PNG
LYX.PNG (40.27 KiB) Viewed 13756 times
evana
Posts: 15
Joined: Tue Apr 11, 2023 8:23 pm

Unable to Launch LYX | Missing Platex.INI

Post by evana »

Adding more to the below comment,

Is there a command line approach for adding or downloading .ini file?

Thanks,
Pranitha
evana
Posts: 15
Joined: Tue Apr 11, 2023 8:23 pm

Unable to Launch LYX | Missing Platex.INI

Post by evana »

We have noticed that , local repository is not getting created when installing MikTex,

could you check if the below command would do the job of creating the local repo. We are trying to create it in temp folder.

miktexsetup_standalone.exe --quiet --shared=yes --local-package-repository=\"C:\\Windows\\Temp\\MiKTeX22.10\" --package-set=basic install"


Thanks,
Pranitha
evana
Posts: 15
Joined: Tue Apr 11, 2023 8:23 pm

Unable to Launch LYX | Missing Platex.INI

Post by evana »

Following up here for an update?

Thanks,
Pranitha
evana
Posts: 15
Joined: Tue Apr 11, 2023 8:23 pm

Unable to Launch LYX | Missing Platex.INI

Post by evana »

Hi team,

Following up for an update here.

Thanks,
Pranitha
Post Reply