Installer exits without any warning or message

Got a problem you cannot solve? Try here.
abdou24
Posts: 28
Joined: Fri Apr 17, 2009 9:05 am

Installer exits without any warning or message

Postby abdou24 » Mon Jul 12, 2010 1:25 pm

HI,

I have a weird issue with my installaware setup on a XP SP3 O.S.
When i launch my installer, the setup load and extract the files, and after that just disappears.
I double check the temp folder, there is no "miaxx.temp" folder.
And i have a specific error information in my EventViewer log:
"The windows installer entered the stopped state". I look for some helps, and i've followed all the instructions mentionned here : http://social.technet.microsoft.com/For ... d8214c4e84
I stop my windows update service, my antivirus service also, but still the same thing.

Is it possible to have a log of the msi extraction process?
Does anyone have an idea about this issue?

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Installer exits without any warning or message

Postby mills » Mon Jul 12, 2010 7:19 pm

The odds are something is wrong with your script.

Have you tried to debug it (from the MSIcode tab)?

You could post your script to have us take a look if you find you can't debug it.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

abdou24
Posts: 28
Joined: Fri Apr 17, 2009 9:05 am

Re: Installer exits without any warning or message

Postby abdou24 » Tue Jul 13, 2010 7:43 am

Can you give more informations about MSItab debug ? I use Orca to read the msi and even try to debug my script (with debug message to see which part of my script is executed) but still nothing.
I've enclosed the project.
Attachments
My Project.zip
(817.2 KiB) Downloaded 405 times

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Installer exits without any warning or message

Postby mills » Tue Jul 13, 2010 9:14 pm

The debug feature(s) are like most other IDEs and allow you to step through the program logic. Using step (F8) may be most useful. Otherwise, you may want to set breakpoints (F5) in your MSIcode to indicate where you would like the debugger to pause at in your code. You can then step through from there to help identify where the bug is occurring. To learn more about debugging, search for "debug" in InstallAware's help (F1).

For logging that you might find useful, again search help for "logged execution" and you will see the option:

<setup.exe> /l=<path to logfile>

So, you might have something like:

PSMSuite7.exe /l=C:\log.txt

Note that the log path may not be relative (.\log.txt wouldn't work).

I looked at your project, but I couldn't run it, since I don't have the plug-in PSWLogonAsService.

If any of the help I've offered here doesn't help resolve your issue, please post the plugin and any others that aren't packaged by default.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

abdou24
Posts: 28
Joined: Fri Apr 17, 2009 9:05 am

Re: Installer exits without any warning or message

Postby abdou24 » Thu Jul 15, 2010 9:25 am

I try to log the installation and the log is empty. It seems that the installer does not execute the script at all.
I've enclosed the project and commented "PSWLogonAsService" plug-in, you should be able to run the project.

Here is what is in the log:
<InstallAware>
<SetupSplash>
<StubSize>
</StubSize>
<StubData>
</StubData>
<GlobalLists>
</GlobalLists>
<SupportDir>
</SupportDir>
<ExtractArchive>
</ExtractArchive>
<ExtractResource>
</ExtractResource>
<ResourcePath>
</ResourcePath>
<Dialogs>
</Dialogs>
</SetupSplash>
<RunScript>
<Variables>
</Variables>
<CompileScript>
</CompileScript>
<BootStrap>
</BootStrap>
</RunScript>
<Free>
</Free>
<CachedSupportDir>
</CachedSupportDir>
</InstallAware>
Attachments
Simplified_Project.zip
(217.25 KiB) Downloaded 409 times

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Installer exits without any warning or message

Postby mills » Fri Jul 16, 2010 3:22 pm

From the log provided, it indicates that the script is being run. The tags shown are all provided by the IA engine. It looks good, because all of the tags closed (particularly the <InstallAware> tag) which does show that the script was run. What looks like wasn't run, was the Apply Install command.

I still can't load your project. With the plugin line commented out, the project still references. You could copy your project and delete the plugin line(s) and it should work for me. Or include the plugin files.

It might be a good idea to try to reduce the project to what you think the problem specifically is also.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

abdou24
Posts: 28
Joined: Fri Apr 17, 2009 9:05 am

Re: Installer exits without any warning or message

Postby abdou24 » Mon Jul 19, 2010 2:42 pm

HI,
Sorry for the inconvenience, i've removed the problematic plug-in.
I still don't understand why the "Apply Install" is not execute.
Please find the project enclosed, you should be able to build it.

Thanks,
Attachments
PrintShopMailSuite_Project.zip
(3.38 MiB) Downloaded 378 times

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Installer exits without any warning or message

Postby mills » Mon Jul 19, 2010 10:05 pm

Testing in XP SP3, I didn't have any problems running this project. I've attached the log it produced for me. That's how it should look, and how it will look if the Apply Install is being executed.

I verified installation and was able to uninstall as well.

So, now we have a few questions.

  • I want to be sure whether you're testing on the same system that you're developing on?
  • Can you run the project you sent me without the same error?
  • Is the difference the addition of your plugin code?
  • Does it make a difference if a dongle is inserted (obviously I don't have one)?
  • Does it matter which language is selected?

It might be easiest to debug from your side. This applies if you are testing on the same machine as developing. Here's what I would do:
  • On any line in your project's script, press F5 or right-click and choose Toggle Breakpoint. The line's number should now appear red.
  • Build an uncompressed project.
  • Click the Debug button on the ribbon or press F9. As your install runs, you will notice that it will stop at the line you toggled the breakpoint on.
  • Now, click on the Step button or press F8. You can go through your install one line at a time and should notice where the install escapes or what is being skipped.

If you are testing on a system other than your development environment, I would recommend adding a number of Write to Text File lines to generate a log of your code to help see what lines aren't being executed.
Attachments
log.txt
(443.83 KiB) Downloaded 421 times
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

abdou24
Posts: 28
Joined: Fri Apr 17, 2009 9:05 am

Re: Installer exits without any warning or message

Postby abdou24 » Wed Aug 25, 2010 3:13 pm

HI,

I was investiguate a little bit deeper in the installation process, and i notice during setup initialization, in the Temp folder of my machine, the installer always create a specific mia file with the revision code : REVISIONCODE.mia which is empty.
exp: {8B9AC72B-AC63-434E-B63C-02D12949B1B7}.mia

And by deleting this file, and relaunching the installer, the installation proceed correctly and does not exit prematurely

Any idea about that file?

pokr2
Posts: 17
Joined: Fri Feb 11, 2011 12:40 pm

Re: Installer exits without any warning or message

Postby pokr2 » Fri Feb 11, 2011 12:42 pm

Hi,

I've been having this same issue. On upgrade, if this .mia file is present in the %TEMP% folder, installation silently exits.
Anybody has a solution to it?

Regards,

Octavio

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Installer exits without any warning or message

Postby giaviv » Mon Feb 14, 2011 12:45 pm

Dear InstallAware users,
I haven't experienced this issue first hand, however I would guess that it happens after playing around with InstallAware. In other words, this shouldn't happen on a clean machine. Please clear your temp folders and let me know if you experience this on a clean machine (I, like mills, wasn't able to reproduce this here).
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

mdavtec
Posts: 27
Joined: Wed Jan 20, 2016 2:59 pm

Re: Installer exits without any warning or message

Postby mdavtec » Wed Sep 13, 2017 12:42 pm

Please refer to forum post: viewtopic.php?f=2&t=10791&p=41264&hilit=SINGLEINSTANCE#p41264

{8B9AC72B-AC63-434E-B63C-02D12949B1B7}.mia file is created when you build a project with "SINGLEINSTANCE" set to TRUE in Global Settings. This flag is used to prevent multiple instance of installation running in parallel. As said in above forum, the IA installation doesn't handle abrupt termination of installation (like killing installation process or reboot the system while installation is still going on). It leaves that file in %TEMP% folder. When you run installation again, it check for the file and if it exists it would exit without any warning. So as suggested by IA, if you clear %TEMP% folder, it resolves the issue.
ExchA


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 44 guests