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!

guidogast
Posts: 51
Joined: Thu Sep 05, 2013 10:12 am

2nd Search doesn't get executed

Hello,

We are almost done with our Typical installation, but we came across a strange thing when testing. We used a clean system and ran the installation for the first time. Then we discovered that certain XML files weren't read.
The XML files are generated as soon as the user clicks the install button (via temporary exe that is included in the project). Immediately after that it is supposed to do a search for the generated XML files. After the installation, we discovered that the property still has the default value: null.

The file doesn't exist during the first search. Plus, in the log files we didn't see a second search performing. So our guess is that it doesn't get executed at all...

If this is not possible for some reason, can you please give us an alternative way of reading the info from the XML files during the install execution stage?

Thanks in advance!

Sincerely,
Guido

P.s. This is a vital part of our installation. So please don't say that it is not possible without giving an alternative way of getting this done.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: 2nd Search doesn't get executed

Hello Guido,

Please keep in mind this is the default Windows Installer behavior. When your installation package is running with Full UI, searches from "Search" page are performed only during "Wizard Dialogs Stage -> Searches -> AppSearch" standard action. If your installation package is running without Full UI, then searches from "Search" page are performed only during "Install Execution Stage -> Searches -> AppSearch" standard action.

Can you please give us more specific details about what you are trying to achieve and maybe we'll be able to guide you in order to fulfill your scenario?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
guidogast
Posts: 51
Joined: Thu Sep 05, 2013 10:12 am

Re: 2nd Search doesn't get executed

Hello Daniel,

Thanks for replying.

Fortunately we already found a workaround which doesn't use the searches. Since VBS scripts can directly access properties, we created a script that reads our dynamically generated XML file. Then we programmed it to update the propertywith the data from the XML file.

Thanks anyway for your help!

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

Re: 2nd Search doesn't get executed

You're welcome. I'm glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”