PDA

View Full Version : SUF5 to SUF7 Help.. First time using 7.. urgent ! :(


decocondepiction
10-11-2006, 10:48 AM
I am having some trouble using SUF 7.. as I have been using SUF 5 for the last year, creating setups for software in the decorative concrete and paver industries.

I love SUF7, the interface is a lot easier to work with, and there are more options.

-In SUF5, you had the ability to modify in System Editors tab, the Text Files tab, and I would have it append text to an .INI file attached in the setup.. How do I do this in SUF7? I don't see that anywhere. Is there something I have to code in the Actions tab?

-Is there a way to convert SUF5 projects to 7? It's not so much of a hassle, but it would save a lot of time!

Please help me out here.. I have many projects to complete within the next couple of months and the tech support email thing on IndigoRose never responds to my messages.

Thanks!
Amir

Adam
10-11-2006, 10:57 AM
Amir,

You will need to use INI file actions (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/Alphabetical_List.htm#INIFile) to add a line to an INI file. Actions in Setup Factory 7.0 are super powerfull. You can use Actions (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/Actions.htm) to make very powerful scripts in different Events (http://www.indigorose.com/webhelp/suf70/Program_Reference/Action_Editor/Events.htm)

If the support system is not allowing you through then you can email support directly:

support (at) indigorose.com

Adam Kapilik

decocondepiction
10-11-2006, 11:13 AM
Amir,

You will need to use INI file actions (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/Alphabetical_List.htm#INIFile) to add a line to an INI file. Actions in Setup Factory 7.0 are super powerfull. You can use Actions (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/Actions.htm) to make very powerful scripts in different Events (http://www.indigorose.com/webhelp/suf70/Program_Reference/Action_Editor/Events.htm)

If the support system is not allowing you through then you can email support directly:

support (at) indigorose.com

Adam Kapilik

Thanks Adam.. however I'm way off on which value to use..

I would want it to grab the INI file, find the text "DefaultLibPath=" and add "%SrcDrv%" after the = sign.. can you give me an example code?

This is way difficult :(

But thank you so much!

Amir

Lorne
10-11-2006, 11:27 AM
Use the INIFile.GetValue (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/INIFile.GetValue.htm) action. (Examples (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/INIFile.GetValue_Examples.htm).)

decocondepiction
10-11-2006, 11:37 AM
Use the INIFile.GetValue (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/INIFile.GetValue.htm) action. (Examples (http://www.indigorose.com/webhelp/suf70/Program_Reference/Actions/INIFile.GetValue_Examples.htm).)

Thank you, I will have a look!

decocondepiction
10-11-2006, 12:02 PM
At the end of our installs, we play an overview movie on the shutdown. . THe overview movie is stored in a /movies folder that isn't a part of the installation package. The movies are all separate..

Do I use the File.Run? Or how should I do that?

In old suf5, we used

%SrcDrv%\Movies\Overview.exe
for on shutdown.

THank you,
Amir

Lorne
10-11-2006, 12:37 PM
Yeah, File.Run, or File.Open...either will work, just depends whether you want to wait for it to return, pass command line args, etc.

decocondepiction
10-11-2006, 12:43 PM
thanks for the overview info.. i will work on that.

i emailed support@indigorose.com because I tried making a test build and it didn't write anything in the INI. Here's more description of what I wrote in an email:

In the setup, I want it to modify an INI file, search for the word "DefaultLibPath=" and add "%AppFolder%" (where its installed basically.. so if it was installed on C: itll show up as DefaultLibPath= C:\ after the install) to it. I used SECTION= "DefaultLibPath=" VALUE= "%AppFolder" RESULTVARIABLE = result . I built a test and it didn't write anything.. what am I doing wrong?