Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: dglienna on October 01, 2005, 07:32:25 AM

Title: Problem Encountered
Post by: dglienna on October 01, 2005, 07:32:25 AM
I went to install the newly create app today, from a month ago, and ran accross a problem.  The computer was not up to date, and I had two issues.
First, it couldn't register mscoree.dll, and then there was a problem with autoexec.nt not being able to run in DOS mode.
I am attaching my script, but wonder if SP2 on my machine included incompatible files, or maybe having Net 2003 caused Inno to install mscoree.dll?  I need to straighten this out.
Title: Problem Encountered
Post by: dglienna on October 01, 2005, 08:24:03 AM
Oops.  Now realize that I forgot to include a data file, so that explains the File Not Found error  
I'll recompile after you comment on the situation.
Title: Problem Encountered
Post by: admin on October 01, 2005, 10:18:05 AM
dglienna,
 
Not sure what you mean. mscoree.dll is in your script to be installed. Why do you need autoexec.nt? SP2 files incompatible with what? What OS are you using XP?
 
My version of mscoree.dll is 1.1.4322.2032. What is your version?
Title: Problem Encountered
Post by: dglienna on October 01, 2005, 10:25:29 AM
I took mscoree.dll from the unsafe file list, and put it and the rest of the files into my folder.
 
During the install, I got the message about autoexec.nt, but I'm not sure why it even came up.
 
I have XP SP2 and client had XP SP1.
 
I have the same version of mscoree.dll on my system, but I couldn't register it on client machine manually.  It failed.
 
Can you take a look at my script and tell me if I can remove mscoree.dll and any other files?  My old script had half as many lines of included files, so I think I have something extra going on.
 
The program worked up to the point it was looking for a missing file, so I don't know if that was the only issue.
 
The reason I asked about SP2 is because Client Internet Access died when I did the install. I'm thinking of formatting and reinstalling the OS on that system, as it seemed to have a virus on it.
Title: Problem Encountered
Post by: admin on October 01, 2005, 10:49:30 AM
dglienna,
 
What do you mean you took this file from the unsafe list? What message about Autoexec.nt? I would need to have your exe and vbp file to check your script. If you could zip and upload them.
 
Whick program worked until it looked for a missing file?
 
Client Internet Acess died for SP2 has a firewall, Sp1 does not. You have to reconfigure the MS firewall to allow access.
Title: Problem Encountered
Post by: dglienna on October 01, 2005, 10:58:21 AM
I couldn't compile because of unsafe files. You said to place them into another folder, so i did.
 
I did NOT install SP2 on the machine, I just thought my app might have installed incompatible things.
 
I posted my script, now I'll post the vbp. That's how I created the script.  Not sure which .exe you would want/need.  I'd rather not do that.
 
My program worked until the missing file, when it closed, so at least part of the install went correctly.
 
I don't know if what I installed killed access or not.  It was just down after I rebooted after the install.
Title: Problem Encountered
Post by: dglienna on October 01, 2005, 10:59:21 AM
I used the AutoUpdater.  Don't know why autoexec even came into the picture.
Title: Problem Encountered
Post by: admin on October 01, 2005, 11:03:12 AM
dglienna,
 
I need the exe to your vbp file also.
My program worked until the missing file???? What file?
 
What error message???
Title: Problem Encountered
Post by: dglienna on October 01, 2005, 11:07:59 AM
I forgot to include a data file, which is why my app crashed.
 
Can you delete a file if I upload it? Or, PM me with your email address and I'll send it to you.
Title: Problem Encountered
Post by: admin on October 02, 2005, 01:20:48 PM
dglienna,
 
Here is the output I got. To download Right click and do save as and change the extention to .zip.
Title: Problem Encountered
Post by: dglienna on October 02, 2005, 03:09:50 PM
I don't get it.  I moved mscoree.dll to a temp folder, and it is still looking for it.  I even started a new project to try it again!  Take a look at this, and tell me if I can delete the msscript and mscoree lines.
I don't know why yours looks different from mine.
 
Thanks.
Title: Problem Encountered
Post by: dglienna on October 02, 2005, 03:16:40 PM
Didn't we rename msscript.ocx to a .dll before?
Title: Problem Encountered
Post by: admin on October 02, 2005, 03:17:52 PM
dglienna,
 
you are using Version 4.0.7 and many modifications have been done to the search algorithms for dependencies. The current version is 5.0 Build 1. This would be the case for the difference.
Title: Problem Encountered
Post by: admin on October 02, 2005, 03:19:12 PM
dglienna,
 
No, there was no rename of any file by me.
Title: Problem Encountered
Post by: dglienna on October 02, 2005, 03:19:21 PM
I tried to update before I used it, and came it generated an error.  I'll go to the site and download the new version.
Title: Problem Encountered
Post by: admin on October 02, 2005, 03:22:55 PM
dglienna,
 
Automatic updates have been discontinued. There is now a nominal fee for InnoScript. That is probably why you generated an error.
Title: Problem Encountered
Post by: dglienna on October 02, 2005, 03:24:28 PM
Huh?  That would explain it. If it solves the problem, then it might be worth it.
Title: Problem Encountered
Post by: dglienna on October 02, 2005, 03:27:56 PM
Wow, it's a lot faster, and found all files! I have a question. For the DefaultDir, I have SiokBlock.  Is that right?
Title: Problem Encountered
Post by: admin on October 02, 2005, 03:30:48 PM
dglienna,
 
For the DefaultDir, it should look similar to the one that I have in the script I posted.
 
DefaultDirName={pf}SiokBlock
 
The way you have it would install in the root folder.
Title: Problem Encountered
Post by: dglienna on October 02, 2005, 03:32:31 PM
OK, Thanks.  I'll give it a try now.
Title: Problem Encountered
Post by: dglienna on October 02, 2005, 03:37:46 PM
I had these directives the last time. Do I still need the last two?
 
Rename directory for VB Install Files to  {app}
Compile Script
 
Delete line containing scrrun.dll as it exists on all machines.
 
Delete from script:
  Source: msscript.dll; DestDir: {sys}; Flags: sharedfile
Title: Problem Encountered
Post by: admin on October 02, 2005, 03:43:41 PM
dglienna,
 
If you do not want to ever deploy scrrun.dll then just place that file in the unsafe.fil list. Then it will never be deployed.
 
What is VB Install Files and why rename it to {app}?
 
Did you re-run and create a new iss file? what does it look like?
Title: Problem Encountered
Post by: dglienna on October 02, 2005, 03:50:23 PM
I put the data files (and included the one that I missed yesterday) into \VB Install Files, and they belong in the {app} folder.
 
Do I delete msscript.dll and scrrun.dll or can I leave the lines in?
 
Here is the iss file after I changed the data folder
 
I need to know if I can run it as is, or have to delete the two files mentioned.
Title: Problem Encountered
Post by: admin on October 02, 2005, 03:57:08 PM
dglienna,
 
{app} this is not right it should be just {app} correct?
 
You can leave those files in as far as I know. But if you never want to deploy them just place them in the Unsafe.fil list and re-run InnoScript. They will never be deployed.
Title: Problem Encountered
Post by: dglienna on October 02, 2005, 03:58:39 PM
I thought you had me delete them last time. If they are safe to deploy, I'll leave them in.
 
I'll change the folder.  Didn't catch that.  
 
Thanks.
Title: Problem Encountered
Post by: admin on October 02, 2005, 09:11:39 PM
dglienna,
 
Here is some info on the scrrun.dll:
 
 How to deploy scrrun.dll and the rest of Windows Script Runtime
 
This shows how you can deploy the Windows Script Runtime. Note that on Windows NT 4.0, users must have Internet Explorer 3.02 or later installed, according to the Microsoft web site.
 
1. Download scr56en.exe (Windows Script 5.6 for Windows 98, Windows Me, and Windows NT 4.0).
2. Download scripten.exe (Windows Script 5.6 for Windows 2000 and XP).
3. Add these lines to your script:
 
[Files]
Source: scr56en.exe; DestDir: {tmp}; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01
Source: scripten.exe; DestDir: {tmp}; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02
 
[Run]
; Install Windows 98, Me, and NT 4.0 version
Filename: {tmp}scr56en.exe; Parameters: /r:n /q:1; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01
; Install Windows 2000 and XP version
Filename: {tmp}scripten.exe; Parameters: /r:n /q:1; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02
Title: Problem Encountered
Post by: dglienna on October 04, 2005, 06:20:37 PM
So, I download these files, and place them in what folder? Or are you saying to use that folder in place of [tmp]?
 
I installed today, and things worked pretty well. It helps to include all data files  
 
How do I get the program to install in Program Files?
I used DefaultDir, and copied the installed to the hard drive.  The program installed in that folder with my default appended to it.
 
btw - there was no network issue the other day, I didn't know that they used the PC to log on to the DSL.
Title: Problem Encountered
Post by: admin on October 04, 2005, 06:33:23 PM
dglienna,
 
Use {pf} for Program Files (ex. DefaultDir={pf}my program}. As far as the files you downloaded. you have to tell the script where they are in the source statement in the [Files] section.
Title: Problem Encountered
Post by: dglienna on October 04, 2005, 06:52:58 PM
Is this correct?
 
[Files]
Source: d:david's tools for vbvb files neededscr56en.exe; DestDir: {tmp}; MinVersion: 4.1,4.0;OnlyBelowVersion: 0,4.01  
Source: d:david's tools for vbvb files neededscripten.exe; DestDir: {tmp}; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02  
 
[Run]
; Install Windows 98, Me, and NT 4.0 version
Filename: {tmp}scr56en.exe; Parameters: /r:n /q:1; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01  
; Install Windows 2000 and XP version
Filename: {tmp}scripten.exe; Parameters: /r:n /q:1; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02
 
Thanks for the help.
Title: Problem Encountered
Post by: dglienna on October 04, 2005, 06:59:18 PM
I also got ReleaseVersion tacked on to somethings.
I know the install .exe, and I think the default folder.  Any way around that?
Title: Problem Encountered
Post by: admin on October 04, 2005, 07:03:31 PM
dglienna,
 
You can change the default folder and the name of the default file name in the parameter screen.
Title: Problem Encountered
Post by: dglienna on October 04, 2005, 07:16:15 PM
btw - your Help Documentation still says v 4.0.7