MSSTDFMT.DLL question

Started by npudar, September 26, 2006, 02:17:14 AM

Previous topic - Next topic

npudar

randem,
Once again, many thanks.
Nick

Randem

Aloha npudar,
 
I have researched the MSSTDFMT.DLL file and found that is is part of the Visual Studios installation. The version that I have on my system is 6.1.97.82. This file should be included in your setup package.
 
Even though you did not directly use this dll some VB controls do use it upon exiting they check the DataFormat property and then you will get the 713 error because the file is not there. I have removed it from my Unsafe.Fil list, you should do the same.
 
I downloaded your app and ran it in a Virtual Machine package and got the same error. I registered the MSSTDFMT.DLL file and the app ran normally. The MSSTDFMT.DLL file must be deployed in your setup.
 
This file comes in the VS6 SP. You should already have this service pack installed.

npudar

randem,
A couple more questions.  First an anomoly.
The attached zip file contains some files: the .vbp, .pjt, .log, and two .iss files.
 
When I ran InnoScript 5.4.0, the StackViewScript5.iss file was generated.  Lines 66-69 had some of the files listed as being in a directory where there are none.  When I ran InnoSetup, I received an error at those lines saying that the files did not exist in the listed directory.  The file StackViewScript5edited.iss is one where I edited those directories to where the files actually exist.  That file compiled correctly.
 
So, the first question is about why this happens. (The unsafe file was scrrun.dll, which I added to the unsafe files list.)
 
The second question is looking for any insights you may have with an error that is happening after a successful installation.  This is back to the fellow who was having the MSSTDFMT.DLL error.  After I removed all references to database objects, he is able to install the software, but when he tries to run the software, he gets an error, and the program crashes.  The facts about his situation:
 
Operating System:      Windows XP v2002, Service Pack 2
StackView Version:     Downloaded StackViewSetup501.exe
Installation Process:  Installation completed successfully
Application Launch:    During launch/loading, error occurs, and  
program crashes.
Error Message:         Run-time error 713
                        Class not registered
                        You need the following file to be installed on your
                        machine: MSSTDFMT.DLL
 
I am suspecting that I will have to use the OS Updater for his machine.  But I do not know why this particular file wants to be loaded since the latest version of the installation does not reference those components.  What do you think?
If you want to try installing the actual software, it can be downloaded at www.stackview.com/download.html
 
Also, you are welcome regarding the donation.  You provide a great service and a great program.
 
Nick

Randem

Yes, the file will still remain. You have to update your UNSAFE file list to include that file.
 
Thank you very much for the donation. It helps plenty.

npudar

Sorry, I did not see the checkbox.  Of course, it now works. I did notice that the .iss file still includes the scrrun.dll file though.  In an earlier post you indicated that that file line should be removed.
Nick

Randem

Sure it does. Is there a Scripting Runtime check box on the screen? What version does InnoScript say it is when you run it?

npudar

randem,
The latest beta file just has a single file (InnoScript.exe).  I was expecting to see a regular installation process.  So I assumed that I just needed to replace the executable file in the InnoScript application directory, and run it from there.  That seemed to work, but the generated script did not handle the MS Scripting Runtime files at all.
 
However, I used all of your great advice and generated the right .iss file using the MS Scripting Runtime files per your original instructions.  The installer seems to work great.
Nick

Randem

Thank You, Thank You very Much...
 
(He bows as he exits the building...)

npudar

randem,
I did just recently hear back from the other fellow.  You were absolutely correct in your assessment of another VB application running.  He exited the app, then installed without any issues.  Your sleuthing is quite impressive!
 
Once again, thank you for your excellent support of a great program.
Nick

Randem

Yes, your installation should handle all of the issues and install clean and work everytime with the  additions. The size of the installation will be a little larger but that not so much of a price to pay for something that will work EVERYTIME.
 
Did you resolve that issue with the guy who had a VB program running and your installation would not replace the runtime file?

npudar

randem,
wow, that was quick with the new beta!  I will get to it this evening again.  I am assuming from your generous interactions that my installation will be robust when I incorporate teh MS Scripting Runtime (very easily with your new beta).  if you think there are any other loose ends in my approach, I'd appreciate your advice.  Thanks again for all your great help.
Nick

Randem

Here is the latest and greatest.
 

Randem

The difference is that you ran 2 in SAFE MODE and you ran 3 in UNSAFE MODE That would cause the files not to be found in 2 and the search would take a while. No dependencies would be found because the files were not found and therefore no unsafe files would be found either.

npudar

randem,
I'm attaching the .dbg, .err, .log files for 2 and 3
 
2 does not generate the unsafe files, and 3 does.
 
I discovered that 3 has a support folder in the path that was generated from a much earlier Package and Deploy effort.  2 does not have that folder in the path.  The path for 3 is:
C:\Documents and Settings\Pudar\My Documents\Data\Home Stuff\Magic\Visual Basic Programs\StackView V5\;C:\Documents and Settings\Pudar\My Documents\Data\Home Stuff\Magic\Visual Basic Programs\StackView V5\Support\;C:\WINDOWS\SYSTEM32\;
 
and the path for 2 is:
C:\Documents and Settings\Pudar\My Documents\Data\Home Stuff\Magic\Visual Basic Programs\StackView V5\;C:\WINDOWS\SYSTEM32\;C:\Documents and Settings\Pudar\;
 
Hopefully this can give you an idea of what is happening to my installation efforts.
 
My east-coast body is giving in for the night.  I'll return to this tomorrow.  Thanks again for your help.
 
Nick

Randem

You might want to try this version it will add the scripting runtime for you.