Modify - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

kumarkiranc
Posts: 85
Joined: Tue Sep 18, 2007 6:49 am

Modify

Hi,

we run the setup.exe on a system that already has a package installed.
Modify should allow the user to go through all the steps they have gone through during original install, so that they can give any new values if they wish to at any stage. Also since they already installed the package once, during modify process, the screens should automatically pick the current settings and allow users to change them to a new value if necessary.


Thanks
Kiran
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
Modify should allow the user to go through all the steps they have gone through during original install, so that they can give any new values if they wish to at any stage.
Please note that this is not supported by Windows Installer. However, this can be done by adding the custom dialogs used in the installation after the "MaintenanceTypeDlg" -> "CustomizeDlg" dialog in the "Dialogs" page.

Also, note that APPDIR (the installation folder) cannot be changed during the Modify process.
Also since they already installed the package once, during modify process, the screens should automatically pick the current settings and allow users to change them to a new value if necessary.
I'm afraid that this is not supported by Windows Installer. The custom properties used by the MSI in the installation process are available only during that process. Therefore, if you need to use them in the Modify process, you must save their values during the install and restore them during the Modify process.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”