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
- :
- Re: INSTALLDIR not kept in Maintenance mode
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
‎Jun 01, 2011
02:48 AM
INSTALLDIR not kept in Maintenance mode
If INSTALLDIR only contains subfolders, i.e. no files directly in the INSTALLDIR folder, the property INSTALLDIR will be the default value in Maintenance mode (if user had choosen another installation directory when he/she installed the program.
Is this a InstallShield bug or Windows Installer bug?
If I put a dummy file in the INSTALLDIR folder, INSTALLDIR will have correct value.
Is this a InstallShield bug or Windows Installer bug?
If I put a dummy file in the INSTALLDIR folder, INSTALLDIR will have correct value.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2011
03:09 AM
can you mention in which OS you are finding this issue??
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2011
03:21 AM
Windows XP SP3.
Windows Installer 4.5
Windows Installer 4.5
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2011
04:06 AM
I did the same test but i am not getting any issues. The INSTALLDIR is pointing to the correct location that i had selected during installation.:confused: how come you are getting it??
Can you check the Log files to see if you get more nformation on this?
Can you check the Log files to see if you get more nformation on this?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2011
04:49 AM
The installdir chosen by the user during the installation process will only change the temporary copy of the MSI file which is loaded into memory. The property INSTALLDIR will be correctly set in the Property table of the MSI in memory and will be lost once the installation is done.
If u want to use the INSTALLDIR chosen by the user , try to persist it to the registry ( may be by using a CA) and then use it during any Maintenance Operatoin.
If u want to use the INSTALLDIR chosen by the user , try to persist it to the registry ( may be by using a CA) and then use it during any Maintenance Operatoin.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 02, 2011
12:35 PM
Windows Installer will persist Directory table values across installations if there is a component that installed to a given Directory table entry.
If none of the components in this MSI package are installing to INSTALLDIR, Windows Installer will not preserve any changes to INSTALLDIR across installations.
Note that this is a function of Windows Installer and cannot be controlled in any way except by including components to install to a target given by a Directory table entry.
If none of the components in this MSI package are installing to INSTALLDIR, Windows Installer will not preserve any changes to INSTALLDIR across installations.
Note that this is a function of Windows Installer and cannot be controlled in any way except by including components to install to a target given by a Directory table entry.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 06, 2011
11:46 PM
Thanks! !
