Multiple file installation

Started by Randem, May 09, 2008, 11:00:25 AM

Previous topic - Next topic

Randem

How can I create my own sub folder (ie within application folder), and place data files in it?
 
Manually edit the script or create a template that will do it for you. InnoScript is already doing that for you with the {localappdata}.
 
I want these to be with main exe and also have link in Start | All Programs.
 
Manually create a line in the [Icons] section for the exe.

jamj

Have you read the link about making your apps Vista Compliant
Not sure
I have read so much and understood so little!
Which link are you refering to?}

jamj

Research indicates that 'AppData' is a path set by windows. Correct?
 
How can I create my own sub folder (ie within application folder), and place data files in it?
 
Also as previously stated I am including extra exe files with main program. (These are activation programs.) I want these to be with main exe and also have link in Start | All Programs.

Randem

Ok, you understand the Add Files  
 
Now you are sending your data files (Add Files) to the AppData folder meerly because each file has a checkmark next to it. If you remove the check mark then those same files will go to the {app} folder.
 
Have you read the link about making your apps Vista Compliant. This will help with the {app} vs {localappdata} issue.



Randem

I understand the 'add files' and that files should be in separate folder from win system.
 
I am not sure you understand... This statement says something else other that what I referred too.

Randem

I really must see your script (iss) and project (pjt) files to answer some of your questions.
 
Please post them...

jamj

Thanks.
I understand the 'add files' and that files should be in separate folder from win system. But my problem is that when I opened a saved script and rebuilt it I got these missing files. Why missing on one build and not missing on previous?
 
More important is that I cannot seem to get my head around the appdata folder. How do I set it up in the script and how do I flag which files to go into it?

Randem

The only reason to use Add Files is to include files that will not be picked up by InnoScript such as .txt, .mdb or other such files.
 
If you have files missing there are several reasons that can be. Since I can't see you script I will give you some examples:
 
1 - The files are in the Windows System folder.
2 - The files are in a folder that is not marked to be searched.
3 - The files don't exist on your computer.
 
The first one is solved by copying the missing files from the Windows Systems folder to another location on the hard disk then directing InnoScript to search for the files there using the Search Tab (There is a whole section on this in the manual).
 
The second... Add the folder to the Search Files tab...
 
The third... Download the files and add the folder to the search tab.

Randem

Other separate installations such a Crystal Reports, SQL Server etc...
 
Any other package that needs to be installed. The package can be included in your installation making it much larger or left out to run externally by your installation. Leaving your installation the same size but you have to distribute the other installation along with your installation.

jamj

What are 'internal installs' - what is meant by sub-installations?

jamj

The exe files I am refering to are additional to the main program exe (added in 'add files'). Yes I have added the mdb files but they also are not being placed where I want them.
For Vista I understand that they should be in a sub folder of main application folder. How do I set this? Sorry if my previous post was not clear.
Also since last post I have tried various options to learn i/script. Now I am getting a list of 8 missing files. No changes have been made to main parts, only tried 'add files/folders'. Any ideas?
Should I wipe script and start again?
 
(Message edited by jamj on May 16, 2008)

Randem

You don't need to edit the script manually. Just creating a simple script where you do nothing but set the vbp file and the iss file then selecting Create Script will give you all the direction you need in lue of reading the documentation. Try it...
 
You add the mdb by using add files. If the file line is unchecked it will go to the {app} folder but this is a bad idea if you are planning on using it in Vista or a limited users account.
 
You don't add the exe it will automatically be added.
 
To not have the link for the web uncheck the Include url links item on the main screen.
 
All this is in the documentation...