Inno Setup Script Output File message

Started by Randem, December 06, 2007, 03:00:25 PM

Previous topic - Next topic

Randem

If you are installing a database you need database support so yes it's necessary to install some database support. It's your choice how you go about it. The Auto OS Updater is a complete solution but you can choose a different approach.
 
The script provided by InnoScript provides a check box that the user can select if it gets installed, but it is still included in the installation. There is also a choice (Internal Installs) to have the Auto OS Updater included in a support folder that the user can download separately and place in that folder and deploy if they like and that would make your installation smaller and that seems to be your main concern.

entityx

That file vb_dcom_mdac_jet_autosetup_xp.exe is 32 MB. Is that really necessary? If someone is installing a VB.NET program and they don't have the .NET Framework that has to be installed and that's 23 MB. This other file is 32 MB. So that's an extra 55 MB if they don't have either. Do you ever create an installation program that asks the user if they want to install this mdac file before it's installed. I'm thinking that's the route I might want to go.

Randem

Sub Folder Copy is not supported currently. If you want the whole contents of the folder with sub folders copied use the flag recursesubdirs on the line with the folders. You can add this flag in with the templates function. This has been included with the latest revision of the Beta release.

Randem

If the file was not found why did you attempt to compile it? That would not provide a complete installation. Download the file and point InnoScript to where the file is as per the instructions.
 
InnoScript is designed so that you do not have to hand edit the script everytime. The tool is designed  so that you can re-run as many times as you like and end up with the same script. In that way you can change features of the script using the templates and thereby be assured that the rest of the script will remain the same. When you need to make changes it is best to make them inside InnoScript and re-run. It will at least provide you with some sort of documentation.
 
I will check on the folder copy question.

entityx

I realized I can edit the script by opening Inno Setup. Perhaps using the templates assists you in not making mistakes in editing or adding script.
 
When adding folders if the folders have folders inside of them that need to be accessed should you enter those or is it enough to just enter the one folder that has the other folders inside of it?
 
After running InnoScript the message said that there was 1 file not found and it was :
Source: vb_dcom_mdac_jet_autosetup_xp.exe
 
I tried compiling the script that InnoScript created in Inno Setup and I got a message :  
Compile Error : Mismatched or misplaced quotes on parameter Parameters  
 
Here's part of the line that was highlighted :  
Parameters: /q:a /c: install /l /q
 
Maybe you know how the quotes are supposed to be. Perhaps the unfound file created some kind of problem. I should probably take care of that first.

Randem

Version 8 is .Net. It should automatically select Version 8. This will be fixed.
 
The Templates are nothing but a cut down script. You fill in the section and the line that you want added or replaced and you make sure the script name has a check mark on the templates tab. Post your template script and I will take a look at it.
 
If you look at the script, there are comments that tell you where those AppName, AppPublisher, etc.. come from (Your VBP project). I believe .net has the ability to set the same parameters such as CompanyName, AppName etc...

entityx

Pardon me for not paying attention. I realized that I was mixing up the parameter field called OutputBaseFileName and what the message was referring to which is Inno Setup Script Output File. I didn't have anything filled in for the later so that's why I got the message. I filled in the field Inno Setup Script Output File and what's just above it Visual Basic .Net Project File as well as some other things and then I got some results after clicking the trafic signal for the first time. I noticed that Inno Setup Help tells you about all the parameters if you click index and then enter what you want to know about in the text box.  
 
I installed Inno Script 7.3 Build 2 before I did all of the above. I'm shy about using Beta versions.  
 
After I had a script created by Inno Script I had blanks for some things like AppName and AppPublisher. I was trying to fill those things in but wasn't able to make any changes.  
 
In the instructions it says : Use the template process to change or add line in your script. This is very helpful when you need to add code
sections and other things that InnoScript does not normally do.
 
How do you use the template process? I haven't yet had succes in making any modifications to the script. I'm sure it's something simple that I'm missing like it always is.  
 
I have the .NET button depressed for InnoScript. This project is for a Visual Basic.NET 2003 program so I have the .NET Framework checked but I'm wondering does it make any difference which of the three radio buttons (Visual Basic Version 5, 6 or 8) is selected since one of them has to be. What is Visual Basic Version 8. Does that refer to Visual Basic .Net?  
 
I think that will be enough questions for now.

Randem

You should use the lastest version of InnoScript 7.3 Build 2 or 8.0 Beta.
 
As far as fields that must fields that must be filled in on the main screen... all of them. On the parameter screen... None of them. But it would benefit you to do so.
 
Output file - a path and File Name with an iss extention. What did you fill it in with??? You can't get an script without a filename to write it to.
 
I believe the .Net framework contains a check to see if it is installed already and then it will install if it isn't. You should always include what your program needs to run and not could on luck or client confusion for installation.
 
This may help also Installer Problems
 
The help documentation is also helpful. On the main menu go to Help->Instructions to get some helpful information.

entityx

I've been putting off digging into learning how to use InnoScript but the time for my procrastinating must come to an end.  
 
Could you tell me which of the fields in parameters are requiered and which can be left blank. I got a message when trying to use InnoScript, All fields must have valid entries - Inno Setup Script Output File (.iss) must have an entry. I had an entry that I thought was valid. What are the requirements of this entry. Perhaps certain other fields needed to be filled in that weren't. I definitely didn't have every field filled in. I'm using version 7.3 Build 1 and am trying to create a custom installation program for a Visual Basic.Net 2003 Standard program. I want it to check if the .Net Framework 1.1 has been installed and if it hasn't been then install it and then install my program.