Hello!
I'd like to share some scripts and dialogs between multiple projects. This works very well with scripts, I just have to edit the .mpr file with a text editor and specify an absolute path for the appropriate .mia file. (IIRC, this was the default behavior in earlier versions of InstallAware.)
However, the same approach fails with .dfm and .dfm.miaf files. InstallAware always uses the dialogs that have been copied to the project directory. Is it possible to change this behavior?
How to share dialogs between multiple projects?
-
- Posts: 55
- Joined: Tue Jan 09, 2007 12:20 pm
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
No, dialogs are always copied to the local project folder. What you can do is create a new dialog theme, in case you have your own theme that you want to re-use across multiple projects.
Also for sharing scripts - the IDE now saves each script file reference using paths relative to the project folder. So now it should be easier and more intuitive to share scripts between projects.
Note that the IDE will discard absolute paths as long as it is possible and safe to do so.
Also for sharing scripts - the IDE now saves each script file reference using paths relative to the project folder. So now it should be easier and more intuitive to share scripts between projects.
Note that the IDE will discard absolute paths as long as it is possible and safe to do so.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
MichaelNesmith wrote: the IDE now saves each script file reference using paths relative to the project folder.
It works only for local drives. When project is located on network mapped drive, then relative path is exchanged to full starting from \\\\hostname.
In such case preserving relative path is also possible and safe.
Why IA changes the paths?
Who is online
Users browsing this forum: Google [Bot] and 115 guests