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!

rohitgarg20
Posts: 31
Joined: Thu Mar 13, 2014 6:31 am

Check if User Select "All user" or "Current User" in Install

Hi

Can you please tell me which property can be used to check whether "All user" or "Current User" is selected from installtyp dialog?

Thanks & Regards,
Rohit Garg
rohit.aggrawal90@gmail.com
R
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Check if User Select "All user" or "Current User" in Ins

Hi Rohit,

Please note that on the InstallTypeDlg the AI_InstallPerUser property is set with the following values:
  • AI_InstallPerUser = 1 when a Per-User installation is made
  • AI_InstallPerUser = 0 when a Per-Machine installation is made
Please let me know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rohitgarg20
Posts: 31
Joined: Thu Mar 13, 2014 6:31 am

Re: Check if User Select "All user" or "Current User" in Ins

Hi Dan,

Thanks for posting about "AI_InstallPerUser"

I checked but it is giving "1" value whether "Everybody" or "OnlyForMe" is selected in installtyp dialog

Can you please look into it.

Thanks & Regards
Rohit Garg
R
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Check if User Select "All user" or "Current User" in Ins

Hi Rohit,

I've tested your scenario but I cannot replicate it. Please find the attached sample for your reference.

Let me know if that helped.

Best regards,
Dan
Attachments
AI_InstallTypeSample.aip
(11.32 KiB) Downloaded 390 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rohitgarg20
Posts: 31
Joined: Thu Mar 13, 2014 6:31 am

Re: Check if User Select "All user" or "Current User" in Ins

Hi Dan,

Thanks for your help. This requirement is fulfilled.

Regards,
Rohit Garg
R
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Check if User Select "All user" or "Current User" in Ins

You're welcome Rohit,

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”