WyoDougPenske
Posts: 3
Joined: Mon Oct 07, 2024 6:57 pm

JSON files not being installed

So, I have to repackage the Matlab Runtime install to make it easier for my .NET program to access it and get the Matlab components playing nicely with each other (and install and uninstall).

So I did a project, added all the files to the \Program Files\Common Files\Penske Racing Shocks" fold, and built the installation as a web installation.

I made sure to upload the .7z file to the appropriate spot on the web.

I run the installation. It chugs along just fine and is complying with the files. It gets done with that and gets to the component registration, and poof, I get an error saying it can find a particular JSON file. I made sure it was in the project and the source directory. I then opened the compressed file of install components, and yes, the JSON files are also there.

So why aren't the JSON files getting copied? I poked around (and even read documentation) and tried importing the JSON files in question to see if that could "solve" the problem. It took 20 minutes to build the setup, so I'm writing this to be efficient. I don't know if that is a workaround.

I'll attach my project file just to see if I am doing something stupid or if there are other things I'm not understanding. I've been known to flip the bozo bit a time or two when writing installs.

I've tried attaching the project file, and keep getting an error.. don't know why...)
WyoDougPenske
Posts: 3
Joined: Mon Oct 07, 2024 6:57 pm

Re: JSON files not being installed

HEREIS THE ERROR MESSAGE:
Untitled.png
Untitled.png (14.09 KiB) Viewed 3947 times
Catalin
Posts: 7492
Joined: Wed Jun 13, 2018 7:49 am

Re: JSON files not being installed

Hello and welcome to our forums,

Could you please try the solution presented in the following forum thread:

Source File Not Found ????

and let me know if it helps?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
WyoDougPenske
Posts: 3
Joined: Mon Oct 07, 2024 6:57 pm

Re: JSON files not being installed

Good news, this solved the problem.

Thanks so much.
Catalin
Posts: 7492
Joined: Wed Jun 13, 2018 7:49 am

Re: JSON files not being installed

You are always welcome!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”