Order of operation - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

char
Posts: 3
Joined: Wed Jun 18, 2008 2:39 am

Order of operation

I have extensively searched help and can not find what I want to do. If anyone can help I would be EXTREMELY happy.

This is what I am trying to do:

1) Install an independent program - it has its own setup .exe, etc. (this is what I am having a problem with, I need to install this BEFORE the files get transfferred so I can overwrite default settings and files)
2) Install my custom .ini, saved files, folders, pictures, and templates to the directory of the previously installed program
3) I have an .exe to set up printer properties

As well, when I add my custom .ini file to the file list - I can not set it to Read Only, I can only edit the variables in it. This would be a bonus if this was possible.

What is happening right now, is the files get transfferred then it prompts to install the program, then the program overwrites my files and settings!

Thanks in advanced!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Order of operation

Hi,
Install an independent program - it has its own setup .exe
This can be done by using a Prerequisite. Note that we have a prerequisites tutorial which may help you.
Install my custom .ini, saved files, folders, pictures, and templates to the directory of the previously installed program
In order to find the folder in which the prerequisite was installed you can use a search. Note that we have the Remove a file or a folder during installation how-to which explains how to get the path of a folder which contains a file (this is useful if you want to use a file to find the prerequisite folder).
when I add my custom .ini file to the file list - I can not set it to Read Only
When adding an INI file to the Files and Folders page you will be prompted about importing the INI in Windows Installer format. If you uncheck the INI in this "Import File" dialog, the INI will be added as a normal file. In this case you can set the "Read only" attribute for it.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”