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!

sakisst
Posts: 11
Joined: Wed Feb 02, 2011 10:20 am

import MSI folder problem

Hi friends
I have a problem and need help
I import MSI file . and files that are in folders ALLUSERPROFILE and USERPROFILE
Places them in C:\ ALLUSERPROFILE and C:\ ALLUSERPROFILE
And not on the right path c:\Documents and Settings\All Users\ PDS and c:\Documents and Settings\Users\PDS

please help

Image
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: import MSI folder problem

Hello,

In order to achieve what you want you can proceed as follows:
- Go to "Install Parameters" page and add two properties like this:
  • Name: ALLUSERSPROFILE
    Value: Your value

    Name: USERPROFILE
    Value: Your value
- Go to "Files and Folders" view and create two property based folders using the related property.
- Go to "Custom Actions" page and under "Wizard Dialogs Stage -> Searches" add two "Set installer property" custom action with sequence like this:
  • Property: ALLUSERSPROFILE
    Formatted: [%ALLUSERSPROFILE]

    Property: USERPROFILE
    Formatted: [%USERPROFILE]
-Build and run your project.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sakisst
Posts: 11
Joined: Wed Feb 02, 2011 10:20 am

Re: import MSI folder problem

Hello Daniel.Radu
Thanks for your response
I made that you proposed to me. but I take the message of error (Could not access network location [%USERPROFILE].)

Image
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: import MSI folder problem

Hello,

I'm afraid I'm not sure why you are encountering this behavior. Here's attached a sample, created with version 9.5 of Advanced Installer, which implements your scenario.
sample.aip
(11.81 KiB) Downloaded 503 times
Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sakisst
Posts: 11
Joined: Wed Feb 02, 2011 10:20 am

Re: import MSI folder problem

Thanks my friend (sample.aip) this example It helped me understand my mistake

Thanks again

Return to “Common Problems”