Problem with userprofile custom action - Advanced Installer Community

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!

espensh
Posts: 1
Joined: Mon Jan 11, 2010 9:45 am

Problem with userprofile custom action

Update. I found more information about running a vbscript to populate a property. It's still not possible to run in quiet mode as the msgbox function has to display the information. How can i make this not visible ?
http://www.advancedinstaller.com/forums ... ile#p26779


I'm trying to create a package that copies files to the users application data folder using this guide http://www.advancedinstaller.com/forums ... ILE#p21022

This works ok, but when i try to run this with the silent switch, it will create a folder with the property name on c:\. I assume this happens because the msi will run in system "console" and as such will not be able to resolve the user account name etc.

Is there an easy fix to this ?

In advance, thanks.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Problem with userprofile custom action

Hello,

To configure the msgbox not to display during basic interface, you can condition it using the UILevel Property
The condition would look something like:

Code: Select all

NOT Installed AND (UILevel <> 3)
This works ok, but when i try to run this with the silent switch, it will create a folder with the property name on c:\. I assume this happens because the msi will run in system "console" and as such will not be able to resolve the user account name etc.

Is there an easy fix to this ?
Please send your .aip project file to support at advancedinstaller dot com so we can analyze it.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”