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

Re: Recruit a Developer

Hi,

You can keep your current features and you don't need to replace any of them. Under the "Common" feature you can add the prerequisite features which are always installed, no matter on what system the package runs.

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 I think I have got it... Please could you have a quick look at the attach setup.aip let me know if it is ok ? If I have got this working ok then I will buy the product straight away :)

One thing I need to do is copy files from the \extras\wwwroot folder into c:\inetpub\wwwroot folder. How would I do this please ? I also need to import registry entries after reboot is this possible ?

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

Re: Recruit a Developer

Sorry I forgot to add the file :)

Also, how would I run a VBS script and an EXE file from the APPDIR on the Protect Feature ?

Thanks again
Attachments
setup.aip
(175.79 KiB) Downloaded 486 times
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Recruit a Developer

Hi,
Please could you have a quick look at the attach setup.aip let me know if it is ok ?
The custom actions should be "Deferred with no impersonation" instead of "Deferred" so they can run with full privileges on Vista and Windows 7. Also, you didn't set conditions for them using the VersionNT and VersionNT64 properties.

I noticed that all prerequisites except .NET Framework use the default detection criteria. Please note that you need to set a correct detection criteria for each prerequisite in the Install Conditions tab of the "New Prerequisite" dialog. You can find more details about this in the Professional project tutorial.

In the "Organization" page the "Protect Server" and "Source Server" features do not use conditional install levels based on the Windows version. Also, the Registry page doesn't contain the registry entries you mentioned.
One thing I need to do is copy files from the \extras\wwwroot folder into c:\inetpub\wwwroot folder. How would I do this please ?
You can create the "inetpub\wwwroot" folders under "Windows Volume" in the "Files and Folders" page and place the files there. Another approach is to use file copy operations.
I also need to import registry entries after reboot is this possible ?
You can install registry entries by using the "Registry" page. Unfortunately this cannot be done with the package after a machine reboot.
how would I run a VBS script and an EXE file from the APPDIR on the Protect Feature ?
To run an installed file you can use a "New Installed Custom Action" in the "Custom Actions" page. I'm not sure I understand what you mean by running it on a feature, can you please give me more details about this?

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

Thank you very much for looking at this file. I appreciate all your help.

Can you recommend somone who can design this for me ? I will pay them to design it. I am obviously not understanding the terms etc to get this to work. If you can recommend somone then I would be greatful and I will buy the enterprise version.

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

Re: Recruit a Developer

Hi there,

I think that I may have this right now :) Please could you look at the setup.aip one more time and let me know it this is right ?

This is what should happen...

Features
Protect - Select to install on Protect Servers
Source - Select to install on Source Servers
Common - Will always install the components in this package

The following needs to be condition install based on OS
vcredist32 & vcredist64 need to be install on x64 Systems
vcredist32 on 32bit systems
DT32 / DT64 need to be installon on 32/64 bit Systems - How to detect ?

Dotnet Framework needs to be installed if NOT Windows 2008 R2 else install for all other OS
If Windows 2008 R2 then install dotnet Framework via servermanagercmd -install net-framework

Copy files to ... (This folder needs to be removed after commit phase
WindowsVolume\protemp\vcreditst32
WindowsVolume\protemp\vcreditst64
WindowsVolume\protemp\DT32\setup
WindowsVolume\protemp\DT64\setup
WindowsVolume\protemp\dotnetfx35

Copy files to ...
WindowsVolume\wwwroot\protect.asp
WindowsVolume\wwwroot\images\*.gif

Copy files to ...
Startup Folder\getip.bat
Startup Folder\reboot.bat (Not rebooting server - install reg entries during reboot)

Thank you for your help.
Attachments
setup.aip
(180.88 KiB) Downloaded 502 times
swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Re: Recruit a Developer

Updated setup.aip
Attachments
setup.aip
(178.54 KiB) Downloaded 543 times
swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Re: Recruit a Developer

Hi there,

I think I have the condition sets wrong as all the 64bit an 32bit apps seem to be called during the preqs.

Have I put the conditions in the wrong place ?
swanseahost
Posts: 30
Joined: Sat Dec 26, 2009 2:45 pm

Re: Recruit a Developer

Hi there,

Sorry for more and more posts... I think I have got it now..

You have to set conditions on preqs and on the files themselves in organization right ?
Attachments
setup.aip
(181.48 KiB) Downloaded 534 times
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Recruit a Developer

Hi,
I think I have the condition sets wrong as all the 64bit an 32bit apps seem to be called during the preqs.
This happens because of a bug in the bootstrapper. A fix will be included in the next version which is scheduled for release in the near future.
You have to set conditions on preqs and on the files themselves in organization right ?
Yes, this is a solution. Please note that 32-bit prerequisites should use the condition:

Code: Select all

NOT VersionNT64
The rest of the project seems to be configured correctly for what you need to do.

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 once again for your assistance. If the following is true "This happens because of a bug in the bootstrapper. A fix will be included in the next version which is scheduled for release in the near future."

Then how is the project going to work ? If it cannot work out if it is 32 or 64 bit then the preqs are going to error when it tries to install a 64 bit app on a 32 bit system.

Are all my conditions set right now except I need to change VersionNT to NOT VersionNT64 for the 32 bit ?

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

Re: Recruit a Developer

Hi,
Are all my conditions set right now except I need to change VersionNT to NOT VersionNT64 for the 32 bit ?
Yes, these conditions will make sure that the prerequisites are installed correctly, even though there is a bug in the bootstrapper. The conditions are a workaround for the bug.

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 so just to confirm, I need to ensure I change NTVersion to NOT NTVersion64 on the preqs or the files ?

Then everything else is right ? I will test this later once you confirm this and if all working I will be buying the Enterprise version tongiht :)

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

Re: Recruit a Developer

Hi,
Ok so just to confirm, I need to ensure I change NTVersion to NOT NTVersion64 on the preqs or the files ?
For the 32-bit prerequisites you need to change VersionNT to NOT VersionNT64.
Then everything else is right ?
The other settings seem to be correct. Please make sure you fully test your trial installer before deciding to purchase a license.

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,

Running the installer on a 32bit including all the changes still tries to run the 64bit preqs.
Running Firewall and services fails and installer rolls back.

Why is this ?

Are there problems with this software that don't work or is it something I am doing ? The software is nearly $1000 and it dont work ????
Attachments
setup.aip
(182.73 KiB) Downloaded 591 times

Return to “Feature Requests”