We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

gmichelson
Posts: 4
Joined: Wed May 09, 2007 11:36 pm
Location: Chicago, IL
Contact: Yahoo Messenger

Can I change "Installation Type" based on some con

Hi !

I am trying to put together one installation that would do per user install or per computer install based on ... pc name. Is it possible to do ?

TIA,

George
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi George,

You want to do that at install time? If so you can obtain the pc name by using the "ComputerName" property:
http://msdn2.microsoft.com/en-us/library/aa368009.aspx

The "Installation Type" is given by the "ALLUSERS" property:
http://msdn2.microsoft.com/en-us/library/aa367559.aspx

What you need to do is to create a custom action that sets the value of "ALLUSERS" property according to the value of "ComputerName" property.

Hope this helps.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”