Page 1 of 1
Project Size
Posted: Wed Dec 29, 2010 11:26 am
by h1234
On the MSIcode tab I created a 3 line script. I called it My Setup. By default when I press SAVE it is saved too C:\Users\Me\Documents\My Setup on my Windows 7 machine. I looked in this folder and I have 41 items that total over 7mb in size. 41 items for a 3 line script? That seems a bit much. And only a few of them are dated today, the rest are dated 3/22/2009.
Why so many files? And if I wanted to move this Project to another machine do I need to move all 41 files or just my .MPR and .MIA files?
Thanks,
Re: Project Size
Posted: Wed Dec 29, 2010 12:15 pm
by giaviv
Dear h1234,
Your project consists of a lot more than just *.mia scripts. You have your dialogs, translations, preferences and more...
Sincerely,
Aviv Giladi
InstallAware Support
Re: Project Size
Posted: Wed Dec 29, 2010 5:00 pm
by h1234
Yes, I see all of the files. I guess what I am really asking is why? Why are there 41 files for 3 lines of code? And can IA scripts be compiled into .EXE's/.MSI's? If I write a custom script in IA I'd need to run it on target machines as either an .EXE or .MSI, how/where is that done?
Thank you.
Re: Project Size
Posted: Thu Dec 30, 2010 2:41 am
by bokkie
As I understand it, you can't separately compile scripts into executables. As an MSI you might/should be able to but I've not tried it.
If you want, you could write say, a .Net application that you can add to your project using the File Bag statement. Then, at install time you could run the application on demand without having to preinstall the file first: that's where a file bag is very useful. Of course, you'd need to think about the framework you require but you can add that as a pre-requisite as well.
Re: Project Size
Posted: Thu Dec 30, 2010 3:03 am
by giaviv
h1234,
InstallAware projects are versatile, robust, powerful, and complex, and as such, they consist of many different files.
About your second question, I did not quite understand what you are trying to ask; Could you please explain? When a script is included in your project it will be compiled into your setup.exe.
Best,
Aviv Giladi
InstallAware Support
Re: Project Size
Posted: Thu Dec 30, 2010 10:12 am
by h1234
I think I found what I was looking for. In the folder with 41 items is a folder called Release and inside of that I hav my file called Testing1.exe. Now, when I run this I am prompted with far too many dialogs. So I went into my project and unchecked all of the dialogs and it ran in silent mode. I did notice there was no way to "uncheck all" dialogs, I had to do it for each one.
Re: Project Size
Posted: Sun Jan 09, 2011 2:29 am
by giaviv
Dear h1234,
Furthermore, if you want to run an installation in silent mode, the correct way to do that is by running your setup with the /s parameter.
For example, running "setup1.exe /s" would run setup1 in silent mode.
Best,
Aviv Giladi
InstallAware Support