Project Size

Got a problem you cannot solve? Try here.
h1234
Posts: 18
Joined: Tue Dec 28, 2010 3:19 pm

Project Size

Postby h1234 » Wed Dec 29, 2010 11:26 am

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,

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Project Size

Postby giaviv » Wed Dec 29, 2010 12:15 pm

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
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

h1234
Posts: 18
Joined: Tue Dec 28, 2010 3:19 pm

Re: Project Size

Postby h1234 » Wed Dec 29, 2010 5:00 pm

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.

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Project Size

Postby bokkie » Thu Dec 30, 2010 2:41 am

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.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Project Size

Postby giaviv » Thu Dec 30, 2010 3:03 am

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
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

h1234
Posts: 18
Joined: Tue Dec 28, 2010 3:19 pm

Re: Project Size

Postby h1234 » Thu Dec 30, 2010 10:12 am

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.

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Project Size

Postby giaviv » Sun Jan 09, 2011 2:29 am

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
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 21 guests