This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Search XML in a resumed install (restricted engine)
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 19, 2008
08:12 AM
Search XML in a resumed install (restricted engine)
Hello,
I have an XML System Search, which works fine in the first installation...but i need it in an "Update-Installation", when the program is already installed (resumed install). Then the ISXmlAppSearch seems not to work...log entry:
How can I read an xml-file in a resumed install? I think the problem is that "restricted engine" bryanwolf wrote in http://community.macrovision.com/showthread.php?t=170436&page=3&highlight=restricted+engine:
-> So it seems that the xml-search seems not to work in a resumed install, but I need that...what can I do?
Thanks for an answer,
Peter
I have an XML System Search, which works fine in the first installation...but i need it in an "Update-Installation", when the program is already installed (resumed install). Then the ISXmlAppSearch seems not to work...log entry:
Aktion gestartet um 13:52:54: ISXmlAppSearch.
MSI (c) (8C:20) [13:52:54:378]: Action 'ISXmlAppSearch' is not permitted in a restricted engine.
How can I read an xml-file in a resumed install? I think the problem is that "restricted engine" bryanwolf wrote in http://community.macrovision.com/showthread.php?t=170436&page=3&highlight=restricted+engine:
This is as a result of a limitation in the way that the InstallScript engine has to invoke the MSI to run the UI sequence. Because the package is already installed, the InstallScript engine launches a restricted version of the MSI package that is only capable of running a specific subset of custom actions.
The following custom actions are the only ones allowed to run during the UISequence:
Set Property
Set Directory
Dialog
-> So it seems that the xml-search seems not to work in a resumed install, but I need that...what can I do?
Thanks for an answer,
Peter
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 20, 2008
09:31 AM
Does nobody has a solution to my problem? It can't be that i'm the only one who needs to read values out of a xml file when updating the app?!?
Kind regards,
Peter
Kind regards,
Peter
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 30, 2008
01:30 PM
I'm experiencing a very similar problem and hope to find a suggested resolution. I have two XML System Searches defined in my IS2008 InstallScript MSI project. When I run the setup for the first time on a system or run the same setup additional times on the same system, the system searches work as expected and find the values I want in my XML file. When I re-compile the same setup (no changes to the project, same product code, different package code) then run it on the same machine, InstallShield launches in "update" mode--a "resumed" installation. In this case, I don't get the values from my XML file. The log in my case mentions nothing about a restricted engine. This is what I see in the log:
I have the ISXMLAppSearch action "Execution Scheduling" set to "Always execute" in both the Installation-"User Interface" and Installation-"Execute" sequences.
What do I have to do to get ISXMLAppSearch to fire properly in a small update/minor upgrade scenario?
Action 14:01:50: ISXmlAppSearch.
Action start 14:01:50: ISXmlAppSearch.
Action ended 14:01:50: ISXmlAppSearch. Return value 0.
I have the ISXMLAppSearch action "Execution Scheduling" set to "Always execute" in both the Installation-"User Interface" and Installation-"Execute" sequences.
What do I have to do to get ISXMLAppSearch to fire properly in a small update/minor upgrade scenario?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 17, 2008
09:21 AM
Does nobody has a solution for this?
Kind regards,
Peter
Kind regards,
Peter