Problem Encountered

Started by dglienna, October 01, 2005, 07:32:25 AM

Previous topic - Next topic

dglienna

btw - your Help Documentation still says v 4.0.7

admin

dglienna,
 
You can change the default folder and the name of the default file name in the parameter screen.

dglienna

I also got ReleaseVersion tacked on to somethings.
I know the install .exe, and I think the default folder.  Any way around that?

dglienna

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.

admin

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.

dglienna

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.

admin

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

dglienna

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.

admin

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.

dglienna

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.

admin

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?

dglienna

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

dglienna

OK, Thanks.  I'll give it a try now.

admin

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.

dglienna

Wow, it's a lot faster, and found all files! I have a question. For the DefaultDir, I have SiokBlock.  Is that right?