swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Recruit a Developer

Hi there,

I am new to Advanced Installer and need a project created so that I can see how it is done. I have a project in mind and notes to go with what I need. How much you guys charge ?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Recruit a Developer

Hello,

You can follow our guides and tutorials as they cover quite a wide range of aspects regarding installers. The tutorials should nicely guide you through creating a usable installer. You can also use the search to find answers to your potential questions, or you can post your questions here so we can answer them to the best of our abilities.

Note that although we offer free of charge support to our customers so that any difficulties they may encounter can be overcome, we do not provide services that entail creating the installers for our clients.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Re: Recruit a Developer

Thank you for your response. As stated, I am not a programmer and I am new to the installer software. I have read through some of the guides and looked at the advice given in another thread and I got somewhat lost as to where I put there statements that I got told it could do. I do have a working LUA Script from another product if you would like to look at that. If I can get this project working then I Will be buying the Enterprise Version.

Thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Recruit a Developer

Hello,

I have studied the LUA Script you posted in the other thread. It seems it is doing basic operations like copying, creating a service, running a custom action and a few others.
The following articles will help you achieve exactly that:
File Operations - this will help you achieve the file copy operations that your script is doing
- you might want to understand the Windows Installer Custom Actions. An Attached custom action should be a suitable equivalent to the File.Run() calls from your script if you need to execute an .exe
- bat files, vbscripts can also be run as custom actions
- you can use the Services Page in Advanced Installer to configure, install and start your services
- Windows Installer Properties are an essential part in understanding how an installer work. They are the equivalent of a language's variables
- the Dialog Editor is a powerful tool that you can use to create interfaces through which your clients can interact with the installer (get feedback, provide information through input controls etc.)
I have read through some of the guides and looked at the advice given in another thread and I got somewhat lost as to where I put there statements that I got told it could do.
Could you please give me more details about this?

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Re: Recruit a Developer

Hi there,

Again thank you for your reply.

How would I get the following like in the LUA Script ?

Common - ALWAYS INSTALL

a) Detect Windows Server 2008 R2
i) If Windows Server 2008 R2 then install Net-Framework via servermanagercmd -install Net-Framework
ii) If NOT Windows Server 2008 R2 then install .Net Framework 3.5 via dotnetfxsetup35.exe
b) Detect Windows x64 Bit
i) Install vcredist64 & vcredist32 & DT64
ii) If NOT x64 then install vcredist32 & DT32

Protect Server
a) If Windows Server 2008 (NOT R2) then Install Powershell via c:\windows\system32\servermanagercmd -install Powershell
b) Install Web Server and other roles (R2 & NON R2 Windows Server 2008)

Source Server
a) Detect x86 or x64 then run either c:\protect\setup\dt32\setup.exe or c:\protect\setup\dt64\setup.exe

I understand the files will get copied based on the feature but I am not sure of where I would put the conditions as stated above. I need to detect the OS Ver & Type after selecting what feature I am installing and have common files ALWAYS INSTALLED.

Thanks
swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Re: Recruit a Developer

Hi,

Please find attach aip file. If you coud point me in the right direction I would be greatful.
Attachments
setup.aip
(167.76 KiB) Downloaded 504 times
swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Re: Recruit a Developer

Hi there,

Is it possible to call somone about this ? I would like to get this working before the trial runs out so that I know it works before I buy the Enterprise Edition ?

Thanks
swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Re: Recruit a Developer

Hi there,

Is there a possability to look at the aip file and just point me in the right direction of the post that I asked ? If not then at least let me know so I will go buy InstallShield 2010 and get a programmer to create it for me.

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

Re: Recruit a Developer

Hi,
i) If Windows Server 2008 R2 then install Net-Framework via servermanagercmd -install Net-Framework
For this you can create a custom action in the Custom Actions page. For example you can use a Launch file or open URL action to launch "servermanagercmd" with a custom command line. You can condition the action to run only on Windows Server 2008 R2 by using the "VersionNT" property. For example, you can set the "Expression" field in the "Execution Condition" section from the Custom Action Properties pane to:

Code: Select all

VersionNT = 601
ii) If NOT Windows Server 2008 R2 then install .Net Framework 3.5 via dotnetfxsetup35.exe
This can be done by adding .NET Framework 3.5 as a feature-based prerequisite. After that, in the Organization page you can select the prerequisite feature and set a conditional install level for it based on the VersionNT property. For example, you can set these conditional install levels:

Code: Select all

VersionNT <> 601        1
VersionNT = 601         0
b) Detect Windows x64 Bit
i) Install vcredist64 & vcredist32 & DT64
ii) If NOT x64 then install vcredist32 & DT32
You can add vcredist64, vcredist32, DT64 and DT32 as prerequisites in the "Software Prerequisites" tab of the "Prerequisites" page. In the Install Conditions tab of the "New Prerequisite" dialog you can set these launch conditions:
- for vcredist64 and DT64 check only the "Windows NT 64-bit" option, unchecking the other Windows conditions
- for vcredist32 check both "Windows NT" and "Windows NT 64-bit" options
- for DT32 check only the "Windows NT" option, unchecking the other Windows conditions
a) If Windows Server 2008 (NOT R2) then Install Powershell via c:\windows\system32\servermanagercmd -install Powershell
For this you can create a custom action which uses this condition:

Code: Select all

VersionNT = 600
b) Install Web Server and other roles (R2 & NON R2 Windows Server 2008)
For this you can use custom actions, just like above.
a) Detect x86 or x64 then run either c:\protect\setup\dt32\setup.exe or c:\protect\setup\dt64\setup.exe
This can be done by using prerequisites and setting the supported Windows versions, like explained above.
I need to detect the OS Ver & Type after selecting what feature I am installing and have common files ALWAYS INSTALLED.
Please note that the OS type is evaluated when the installation starts, it cannot be evaluated after selecting a feature. I'm not sure why you would need to evaluate it after feature selection since the order wouldn't matter. Also, for the common files you can use a separate feature which doesn't use conditional install levels.
Please find attach aip file. If you coud point me in the right direction I would be greatful.
Please note that the redistributable packages ("dotnetfx35.exe", "vcredist_x86" etc.) should be added as prerequisites, not as regular files in the "Files and Folders" page. Please note that the User Guide contains the Add JRE or .NET Framework as a prerequisite how-to which may help you.

Also, you didn't create custom actions for the elements installed with servermanagercmd.
Is it possible to call somone about this ?
I'm afraid that we only answer sales and marketing inquiries over the phone - not support questions. This is because answering installer questions takes time, it can't be done "instantly”. Research must be done, issues to be reproduced, answers are looked up, etc.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Re: Recruit a Developer

Hi there,

Thank you so much for your assistance I will try this later today. Would I still keep the Features ? Protect Server / Source Server and then common files would just be preqs rather that installed common files ?

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

Re: Recruit a Developer

Hi,
Would I still keep the Features ? Protect Server / Source Server and then common files would just be preqs rather that installed common files ?
Yes, the current features should be used. You may need to reorganize their components according to the installation logic you need, but they provide a good structure for your package.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Re: Recruit a Developer

So I would still have

Protect Server (Feature)
Source Server (Feature)

Common (Replaced by Preqs)

Thanks
swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Re: Recruit a Developer

Would it be possible for you to make changes to my setup.aip file and send it back ? NOT ALL The changes but some examples.

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

Re: Recruit a Developer

Hi,

I'm afraid we do not offer this type of support. However, it shouldn't be hard if you follow our instructions and read the articles we mentioned.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Re: Recruit a Developer

Ok, thanks but....

So I would still have

Protect Server (Feature)
Source Server (Feature)

Common (Replaced by Preqs)

Thanks again

Return to “Feature Requests”