cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Flexera beginner

Suite: Setup starts each time in maintenance ?

Hello,
I have build a simple suite containce of two packages.
Both of them are packed msi setups

After build of suite I am trying to test it.
Each time starts the suite-setup in maintenance mode.
Neither suite-setup nor both of components were installed on test PC.

What is wrong, please?

I am using IS2012 as evaluation, still.

Regards
Roman
Labels (1)
0 Kudos
14 Replies
Highlighted
Flexera
Flexera

Re: Suite: Setup starts each time in maintenance ?

That certainly doesn't sound expected. If you have only two packages, both of which are .msi files, have neither installed, have left the default Detection conditions, and your Suite runs in maintenance, this is misbehaving. I would suggest examining the debug log created with the command-line parameter /debuglog for further information on what is being detected.
0 Kudos
Highlighted
Pilgrim

Re: Suite: Setup starts each time in maintenance ?

It might be your detection condition for the packages? If set to "Any", it will think the packages are already installed, even if they are not.

Paul
0 Kudos
Highlighted
Intrepid explorer

Re: Suite: Setup starts each time in maintenance ?

Roman,
Paul is correct. I had the same problem... see this post.
http://community.flexerasoftware.com/showthread.php?t=199326
0 Kudos
Highlighted
Flexera
Flexera

Re: Suite: Setup starts each time in maintenance ?

Ah, sounds like I need better wording. As you've pointed out, there's a subtle but important difference between the default (empty) condition, and a condition of Any (which, without sub-conditions, effectively means Always).
0 Kudos
Highlighted
Intrepid explorer

How to do this?

Seems like a few of us are having a bit of difficulty with program flow. So setting the 'Detection Condition' to "None" makes things work as we want for first time install. But that is not all there is to it, because now it will never go into 'Program Maintenance'! What's the best way to do that if already installed?
Under 'Detection Condition' and 'None'... do I add 'MSI Package' and then put in the GUID? That does not seem to work. Furthermore, this is getting a bit ugly since I have 5 packages and since the grabbing of files/folders is not dynamic, that means I need to delete and re-add the package each time the package changes. Of course I then have to add back all of this stuff. Do I then need to come up with command lines for Repair, Modify, and Remove?
0 Kudos
Highlighted
Flexera
Flexera

Re: Suite: Setup starts each time in maintenance ?

My suggestion for your use case would be to (until we have Dynamic Links), create a new throw-away project to get an updated static link of all the files, then use an xml or text editor to copy and paste its files into your real project. It's not great, but it will let you avoid losing configuration, GUIDs, etc. If you want to get fancy, you could automate this with some code (vb, c#, whatever you fancy), and just run an update against the main project.
0 Kudos
Highlighted
Intrepid explorer

Re: Suite: Setup starts each time in maintenance ?

Michael,
Thanks for that answer. What about the program flow issue? Seems like I am stuck with it either:
1. Always going to Maintenace Mode (to stop this, set Detection Condition to None).
2. After doing the above, it will NEVER go to Maintenance Mode... even when it should.
What is the suggested method to resolve?
Thanks.
0 Kudos
Highlighted
Flexera
Flexera

Re: Suite: Setup starts each time in maintenance ?

Detection conditions should reflect the state of the machine with regards to the package they are defined upon, and will only function correctly if installing or uninstalling the package will change their value. So don't use Any, All, or None with no children; instead check for something that changes.

I'm unclear why your use of "MSI Package" didn't work; it should be a good way to go to detect an MSI you're not installing as an MSI package (just set the product code and probably the version information). Another way would be a "Registry Exists" for the package's uninstall key.
0 Kudos
Highlighted
Intrepid explorer

Still No Idea

Michael,
No matter what I put in the condition (NONE or ANY) with package code, or Product code, or Product code and Product version, I get the error:
An invalid condition was encountered:
Type MsiInstalled
Conversion:
Compare:
Error: 0x80070057
Any ideas?
Thanks
0 Kudos