\"Browse for Folder\" Issue

Got a problem you cannot solve? Try here.
MarkRichards
Posts: 47
Joined: Tue Apr 18, 2006 8:39 am

\"Browse for Folder\" Issue

Postby MarkRichards » Mon Jul 03, 2006 1:53 pm

Hello,

I've got extremely complex application install requirements, and so I use InstallAware v5.3 to "bootstrap" the machine environment (with .NET 2.0 & MSI 3.1) and then launch immediately into a custom installer module. The custom installer modules are included with the InstallAware package as support files. I need to launch the custom code during BOTH installation and removal.

Installation is working perfectly - my custom code is launched and (if it proceeds without), the installation is finalized. But during UN-install, I have a weird problem: a "Browse for Folder" pops up immediately before my custom code launches.

I can't figure out why this is happening. The custom modules still do launch correctly, so I don't know what the installation package is even trying to browse for.

Here's the call block:

-------------------------------------

Set Variable OSSetupResult to
if Variable REMOVE Equals TRUE
Run Program $SUPPORTDIR$\\custom_install.exe remove (WAIT)
else
Run Program $SUPPORTDIR$\\custom_install.exe (WAIT)
end

-------------------------------------

Any ideas on what I'm doing wrong here?

- Mark R.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Mon Jul 03, 2006 1:58 pm

Hi Mark!

Do you have any plug-in calls that may require access to source media, such as File Bag, that execute during uninstall?
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

MarkRichards
Posts: 47
Joined: Tue Apr 18, 2006 8:39 am

Postby MarkRichards » Mon Jul 03, 2006 2:40 pm

Hi Michael,

Thanks for the quick reply. You folks do a great job.

To answer your question - nope, I'm not use file bags or any other plug-ins. I do have the MSI 3.1 and .NET 2.0 pre-requisites turned on.

The "Browse for Folder" dialog appears right before my custom installer app launches, but only during un-install. This implies to me that the problem is related to the support files somehow, but I'm at a loss as to why.

Nothing much else of interest in the project, really.

- Mark R.

MarkRichards
Posts: 47
Joined: Tue Apr 18, 2006 8:39 am

Postby MarkRichards » Mon Jul 03, 2006 2:50 pm

I figured it out.

I had a stray "Apply Install" command sitting up above my un-install logic. For whatever reason (and I'm sure there's a sensible one) this was kicking off the "Browse for Folder" dialog during un-install.

I added some conditional logic and the problem is resolved.

Thanks again for the help.

- Mark R.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Mon Jul 03, 2006 4:07 pm

Hi!

Apply Install does require access to source media, as its trying to install files - that explains it. Glad you have it figured out!
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 168 guests