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
- :
- File in use dialog not appearing
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 15, 2017
06:15 AM
File in use dialog not appearing
Hi,
i am working on Basic Msi install shield 2015 , i have created a setup exe after installing my setup , my application is usually launch inside the container.
My problem is - suppose if the user keep opening container (inside the container my application running) if he try to upgrade the new setup.exe, at this point my install shield window is crashing this will happen when i click on ready to install button here i am getting File in use dialog .
i am working on Basic Msi install shield 2015 , i have created a setup exe after installing my setup , my application is usually launch inside the container.
My problem is - suppose if the user keep opening container (inside the container my application running) if he try to upgrade the new setup.exe, at this point my install shield window is crashing this will happen when i click on ready to install button here i am getting File in use dialog .
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 15, 2017
10:52 AM
If you want to launch your application at the end of the Setup that is an option. But, you need to make sure the Setup.exe is shutdown AS you launch your application. So, if you are using InstallScript to launch it, for example, you might want to use LaunchAppAndWait but make sure you have the LAAW_OPTION_NOWAIT parameter set. Otherwise the Setup.exe will continue to run until you exit that first run of the application or some timeout occurs. That could be bad.
Remember that by the time a user is running your Setup.exe there is no InstallShield involved. Installshield is primarily the authoring tool and users will not have it installed on their computers at all.
The "Files in Use" dialog is not a sign of a crash. It just means that files which the installer intends to copy in are in use by something. You can't over-write files that are in use. If you are getting a related crash then look at what you are trying to do and determine if it can logically happen.
I often detect if my app is running as they launch my installers and let them know to go shut stuff down if I detect anything in memory. I have a ProcessesInUse dialog of my own and a custom action that runs to do the detect.
Chad
Remember that by the time a user is running your Setup.exe there is no InstallShield involved. Installshield is primarily the authoring tool and users will not have it installed on their computers at all.
The "Files in Use" dialog is not a sign of a crash. It just means that files which the installer intends to copy in are in use by something. You can't over-write files that are in use. If you are getting a related crash then look at what you are trying to do and determine if it can logically happen.
I often detect if my app is running as they launch my installers and let them know to go shut stuff down if I detect anything in memory. I have a ProcessesInUse dialog of my own and a custom action that runs to do the detect.
Chad