Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Good morning,
per subject, I need to run a file.xmcd from the command line in an installer. I am using Inno setup. The command line looks like:
[Run]
Filename: "{app}\Readme.txt"; Description: "View the Readme file"; Flags: postinstall shellexec skipifsilent unchecked
Filename: "{app}\FILE.mcdx"; Description: "Open FILE"; Flags: postinstall shellexec skipifsilent
I can launch mathcadprime.exe but I cannot shell execute this exe with the associated file.xmcd.
Ideas?
How does one run file.xmcd from a command line and associate with the latest Prime?
thank you.
I had P8 and P9 open at the same time. Launching P9 first resulted in the file being run in P8.
This appears to work provided P9 is the only instance running:
[Run]
Filename: "{app}\Readme.txt"; Description: "View the Readme file"; Flags: postinstall shellexec skipifsilent unchecked
Filename: "C:\Program Files\PTC\Mathcad Prime 9.0.0.0\MathcadPrime.exe"; Description: "Launch MathCAD Prime"; Flags: postinstall waituntilidle skipifsilent unchecked
Filename: "{app}\FILE.mcdx"; Description: "Open FILE"; Flags: postinstall shellexec waituntilidle skipifsilent unchecked
the keyword needed is waituntilidle