PDA

View Full Version : Two questions,



maniche
09-02-2006, 04:54 PM
Hello to everyone here :) I have two questions, im quite new at this so thats why im wondering :P

Anyways, my first question; How do i do if i want to use two options to install two separate things, for example, if i have 2 programs that i have integrated in the install, how do i do if i just wanna install one off the program, using the several-options-method?(means that you have several options to choose what you want to install) how do i do this?

Question number 2, if i have a tex file where it says
"[Area.038]
Title=Addon Scenery
Local=Addon Scenery
Layer=38
Active=TRUE
Required=FALSE"

Now, i want to add some new lines to this text file that is like this:
"[Area.039]
Title=Propeller Objects
Local=Scenery\props
Layer=39
Active=TRUE
Required=TRUE"

From the installer(I want this to be integrated with the installer)..how do i do this? and how do i delete the text if i want to uninstall the program?

Thanks in advance!

Adam
09-05-2006, 11:07 AM
It is difficult to give an exact answer about your project that contains 2 programs. Generally it is easier to split these into 2 seperate installs. This makes uninstall lagic easier. You can then use 1 master installer to choose which one to run ect. Please explain further and we will try to help.

You can use INI (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/Alphabetical_List.htm#INIFile) file actions to work with files. You can also use TextFile (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/Alphabetical_List.htm#TextFile) actions if your file does not follow INI standards.

Adam Kapilik

maniche
10-01-2006, 04:23 AM
It is difficult to give an exact answer about your project that contains 2 programs. Generally it is easier to split these into 2 seperate installs. This makes uninstall lagic easier. You can then use 1 master installer to choose which one to run ect. Please explain further and we will try to help.

You can use INI (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/Alphabetical_List.htm#INIFile) file actions to work with files. You can also use TextFile (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/Alphabetical_List.htm#TextFile) actions if your file does not follow INI standards.

Adam Kapilik


Hey Adam, sorry for replying late! I want to do exacly like this: http://www.indigorose.com/forums/showthread.php?t=16674&highlight=cfg but i dont know this programming language and wondering if someone could make me an .SUF file or a txt file and just put in the codes that adds and deletes the text after the uninstall? thanks..