Build via Webpage???

Got a problem you cannot solve? Try here.

Build via Webpage???

Postby mikKummerfeld » Sat Dec 03, 2011 3:26 am

Hey Guys,

I have a simple question. We have 10 projects created with installaware and I would like to start the build process via website.

Is this possible? And when yes, how ?

Thank you so much

Heiko
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
mikKummerfeld
 
Posts: 170
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany

Re: Build via Webpage???

Postby giaviv » Mon Dec 05, 2011 8:25 am

Hi,

You can build the projects via the command line using miabuild.exe.
Using InstallAware's automation tool (you can read about it in our help files), you can invoke this build process remotely.
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
giaviv
 
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Build via Webpage???

Postby giaviv » Tue Dec 06, 2011 7:04 am

FYI,

The automation tutorial is available when you click F1 anywhere in IA, click Content and Automation.
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
giaviv
 
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Build via Webpage???

Postby mikKummerfeld » Mon Dec 19, 2011 5:30 pm

I get the following exception. File is not on machine, repair didnt help.
Where is this dll file ?

I want to build my 7 projects at a website (iis or not). Please help me guys.

---------------------------
mAutoWebStub.exe - System Error
---------------------------
The program can't start because miaauto.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
mikKummerfeld
 
Posts: 170
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany

Re: Build via Webpage???

Postby giaviv » Mon Dec 19, 2011 8:14 pm

Hi,

Please try reinstalling IA, making sure that you select the automation component.
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
giaviv
 
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Build via Webpage???

Postby mikKummerfeld » Mon Jan 16, 2012 8:18 am

I installed this option and in my IIS I have this "Automation Site". I tried on 6 machines...

There is no helpfile available how to configure a project to use this with this automation tool.

So what do I have to do...I spent hours over hours...no solution !

THANKS !!!

===>>>> I think you dont understand me correctly...On my Server there are 10 folder with 10 projects. Now I want to build them to a compressed setup.exe from every client....
So when I am not in the office, my colleagues are able to force the setup...
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
mikKummerfeld
 
Posts: 170
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany

Re: Build via Webpage???

Postby giaviv » Wed Jan 18, 2012 8:49 pm

Hi,

You can see a sample web automation file here:
C:\Program Files\InstallAware\InstallAware 2012\Automation\Web Support

Also, please read the Automation Overview F1 help file, it explains exactly how to use this feature.
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
giaviv
 
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Build via Webpage???

Postby mikKummerfeld » Thu Jan 26, 2012 1:26 pm

The helpfile does not explain how to SET up...or I have the wrong file. Maybe you can explain how to set it up.

I have only 3 files in this directory. How can I automate my setup projects ???

png-ile attached
Attachments
webautomation.png
webautomation.png (25.33 KiB) Viewed 3327 times
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
mikKummerfeld
 
Posts: 170
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany

Re: Build via Webpage???

Postby giaviv » Fri Jan 27, 2012 3:10 pm

Hi,

You can find a sample project in your C:\Program Files\InstallAware\InstallAware 2012\Automation\Examples\ folder.
Take a look at it and see if that helps you.
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
giaviv
 
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Build via Webpage???

Postby mikKummerfeld » Wed Feb 01, 2012 9:10 am

Hello Guys, it is not working.

I get the following messagebox that miaauto.dll is not on my computer...BUT THIS FILE EXISTS in the Library.
And i installed everything possible !!!

Where do I have to copy this file to ?? Where is the file needed ?

Please help. I cant use this feature...and we need that so much

OR PLEASE SEND ME A REALLY GOOD HELPFILE HOW TO CONFIGURE MY PROJECTS FOR WEB AUTOMATION.
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
mikKummerfeld
 
Posts: 170
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany

Re: Build via Webpage???

Postby mikKummerfeld » Thu Mar 01, 2012 2:43 am

NO idea and answer ???
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
mikKummerfeld
 
Posts: 170
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany

Re: Build via Webpage???

Postby FrancescoT » Mon Mar 05, 2012 3:23 am

Dear Mik,

the "miaauto.dll" must be placed in the same directory of your calling executable to work (as described in IA documentation).

For your test purpose, it is available a sample delphi test application in the install folder: "Automation\\Example".
An executable for this application is already compiled and available in the above installation folder, so with this you should be able to perform any test.
This application use "miaauto.dll" to work and if the dll it is not placed in the same exe directory, you will receive an error for DLL NOT FOUND.

hope this helps you.

Regards
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 3111
Joined: Sun Aug 22, 2010 4:28 am

Re: Build via Webpage???

Postby mikKummerfeld » Wed Mar 07, 2012 4:09 am

I cant find the documentation for automation. f1 does not help. please send me a documentation for that

So please read carefully..I think we have a very BIG misunderstanding...

1. I have a normal .NET project on D:\Setup\project\softwarename2. Usually I start this by build via miabuild.exe in CMD or IA GUI on my SETUPMACHINE
3. NOW I want to start the buildprocess via another computer in my company
4. WHERE do I have to copy my projectfolder to and what is with the library folder and the web support folder?

I cant use this because I dont know where to copy and what components I need and what LINK do I have to open in my browser...
Please help me, my boss is very angry at me because IT DOES NOT WORK..so please please please help me really

Here are my current folders in Automation folder
folder.png
folder.png (38.73 KiB) Viewed 3158 times

folder2.png
folder2.png (12.83 KiB) Viewed 3158 times

folder3.png
folder3.png (28.12 KiB) Viewed 3158 times
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
mikKummerfeld
 
Posts: 170
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany

Re: Build via Webpage???

Postby FrancescoT » Wed Mar 07, 2012 12:15 pm

Dear Mik,

I will try to give you a another help on how to to do:

In your folder where InstallAware has been Installed there is file for test automation purpose called "pDelphiAutomate.exe". This exe file it is just a simple application that creates from scratch, an IA test script, an Ia project file and if you want, it will build the final setup file based on the previous file.

This file it is available under: "C:\Program Files (x86)\InstallAware\InstallAware 2012\Automation\Examples\Delphi" if you execute a standard IA install.

So copy this file everywhere you want in a folder, then in the same folder copy all the files and subfolder you have in your install IA folder: "C:\Program Files (x86)\InstallAware\InstallAware 2012\Automation\Libraries". Those are redistributable libraries used by automation.

Now execute "pDelphiAutomate.exe" from the folder that you have created, in the application UI specify a project name, add a file to install, chose an output file folder and specify a name for your test project.

Press the button "Generate Script", when done build your project by pressig the button "Build Project".
If there are errors a log file will tell you exactly what is missing to complete the build
Note!!
In your target folder for the new project that you are creating you must copy the UI files required by the setup, these are available in any setup theme dialog folder of your IA installation:
destination.dfm
destination.dfm.miaf
finish.dfm
finish.dfm.miaf
maintenance.dfm
maintenance.dfm.miaf
prereq.dfm
prereq.dfm.miaf
progress.dfm
progress.dfm.miaf
progressprereq.dfm
progressprereq.dfm.miaf
startinstallation.dfm
startinstallation.dfm.miaf
welcome.dfm
welcome.dfm.miaf

Copy also the file "Index.htlm" from "C:\Program Files (x86)\InstallAware\InstallAware 2012\Automation\Examples\Delphi" to your setup test folder.

NOW YOU SHOULD HAVE BUILDED THE PROJECT.

To do the same in your Asp.net project, create a project and made in your project appropriate calls to "miaauto.dll" (all binaries as above must be available for your application), if you want to replicate the same as the above test, have a look at the generated test script. See also the InstallAware documentation for "Automation" where each function available is documented. See also all the other topics because explains all you need to do it.

This is essentially what you have to do .... the rest it is up to you.

I really hope that helps you

Regards
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 3111
Joined: Sun Aug 22, 2010 4:28 am

Re: Build via Webpage???

Postby mikKummerfeld » Wed Mar 07, 2012 3:28 pm

hello guys.

i think I am an idiot...

1. Where is the InstallAware documentation for "Automation". I cant find it. I asked 3 times for that

2. I have already a project with 3400 rows of source code and 25 dialogs...

3. In the test script (done step by step), there is nothing with miaauto.dll and now appropriate calls to that

4. How can I build a compressed setup file on a network drive over a webpage (IIS)...that is what i am looking for :(

And there is a default.asp in the web support folder, but I need an own one for my big project...how can i generate this ?
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
mikKummerfeld
 
Posts: 170
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany

Next

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 6 guests