Page 1 of 1

MSI (un)install - I'm so nearly there....(Custom MS Outlook)

Posted: Fri Feb 09, 2007 4:13 am
by paul.griffiths
Thank you for all the help you've given me so far, i'm nearly there now and need a little more guidance.

I have successfully managed to setup the install so it runs through the Outlook MSI and even calls the TRANSFORM. However, once it reaches the end of the insallation it fatal errors with:

"The installer has encountered and unexpected error installing this package. This may indicate a problem with this package. The error code is 2728"

The thing is this msi and supporting files work fine and dont error when installed on its own. + after this error Outlook IS installed correctly.

Q. I have searched for this error code and found it to relate to table structure. How do I fix it or just turn it off so it returns COMPLETE?

Posted: Fri Feb 09, 2007 1:45 pm
by MichaelNesmith
Is it possible something might be wrong with the Outlook MSI after transforming it?

Is this error coming from your InstallAware setup or the Outlook MSI? Might be good to double check that also, should help with the troubleshooting...

Posted: Fri Feb 09, 2007 2:05 pm
by paul.griffiths
The error message is only displayed when the msi is called from within my Installaware installer. Standalone it works fine.

Even by calling the setup.exe using the RUN PROGRAM command it errors with the same error.

I just dont understand how it can be run differently from the new installer rather than standalone.

Is there a way I can ignore the error and not display it?

Posted: Fri Feb 09, 2007 3:20 pm
by MichaelNesmith
Is the error message even shown when setup is started using Run Program on the setup.exe file (that's not an MSI file, right?)

Posted: Fri Feb 09, 2007 4:14 pm
by paul.griffiths
yes that is correct. I can also confim that it is nothing to do with the transform as ive just got the same error without referencing it.

The installation will not complete when run in any way through installaware.....

Posted: Fri Feb 09, 2007 4:35 pm
by MichaelNesmith
That is quite odd!

I'm afraid I don't see why - Run Program, to say the least, just runs an arbitrary application! No difference doing that from InstallAware or from another application.

Also, if the setup.exe you are running is showing an error, it would not be possible to suppress that using InstallAware. If the setup.exe file accepts silent installation command line parameters, you could pass those and try again.

Posted: Sat Feb 10, 2007 7:09 am
by paul.griffiths
With some fiddling and altering command lines etc i have managed to get it to this:

Run installer.......Error 2728 (It is an installaware error).....run program setup.exe....installs correclty but the installaware installer has already fatal errored.

What can I do to stop this error now it is happening before the setup.exe runs?

Posted: Sat Feb 10, 2007 2:23 pm
by MichaelNesmith
Oh hmm, I wonder if you are telling Run Program to wait after execution? If both are trying to have a go at it simultaneously...that could be it!

Posted: Sat Feb 10, 2007 3:38 pm
by paul.griffiths
Ive fixed it!

I had the FILEBAG function being called before defining of the WEB MEDIA and then the (un)install MSI after.

Placing them both after: DEFINE WEB MEDIA solved the problem! All works perfectly now, brilliant.

Thanks Michael for your help.