Hello pradeep,
You can use the
Environment.UserDomainName Property which gets the network domain name associated with the current user.
Edit: Also, you can take advantage of the
USERDOMAIN environment variable.
First, you should go in the
Install Parameters page and
create a
public property (e.g. USER_DOMAIN_PROP).
Then, you can go in the
Custom Actions page and add the
Set installer property predefined custom action with sequence. You can edit its properties like that:
Property: USER_DOMAIN_PROP
Formatted: [%USERDOMAIN]
Please let us know if that helped.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging