
randy.geils1.552492299951564E12 asked a question.
"File Not Found" when opening a file from a directory with a space
I captured an installation of Nexxim v4.1 using Installation Monitoring. The app installs fine from my new MSI, but if I save a file to a path with a space in it (c:\temp folder\) and then try to launch the app by double clicking the file from explorer I get an error that the file is not found. The path of the file in the error window is incorrect. See attached screenshot.
If I save the file to a path with no space (c:\tempfolder\) it opens just fine. I had this problem with another app that I created. When a coworker did the same thing as me it worked fine. I'm wondering if I have a setting in InstallShield somewhere that is wrong.
Please help.
if you are using installscript then use double slash for the path as following:
c:\\temp folder\\folder\CMOS_VCO_NexximCosim.adsn
I doubt that you did anything wrong...but here's what I'd recommend that you try:
- Open your ISM and go to the Components view under Organization.
- Select the component that is supposed to launch this file you're associating.
- Click on Advanced and go to File Types.
- Hopefully your file extension will appear here. If not, you may have the wrong component.
- Lastly, make sure that the "Argument" is surrounded in quotes.
I hope this helps!
Cheers,
Robin
Does anyone know why the quotes wouldn't automatically be there? When my coworker packages an application the quotes are there for him.