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

unistall MSDE

Hi,

While uninstalling my application I want to take a backup of my database and unistall the MSDE.

How i can do it in Advance Insatller.


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

Hi,
While uninstalling my application I want to take a backup of my database
In order to create a backup of your database you can use the tools provided by the MSDE through custom actions. After you create a search for the database you can use "Exe with working DIR" custom actions to pass parameters through the command line to the MSDE tools.

You can read more about creating a custom action here:
http://www.advancedinstaller.com/user-g ... -page.html
http://www.advancedinstaller.com/user-g ... types.html
unistall the MSDE
You can use an "Exe with working DIR" custom action which uses the following command line option:

Code: Select all

msiexec /x ProductCode

where ProductCode is the product code GUID of the MSDE msi package (you can find it in the "Property" table by opening the MSI with Orca). This custom action will have the "Asynchronous execution, do not wait for return" option set in the "Execution Properties" section.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kumarkiranc
Posts: 85
Joined: Tue Sep 18, 2007 6:49 am

unistall MSDE

Hi,


iam unable to unistall the MSDE.

In custom actions unistall i selected "Exe with working DIR". It showing the list i selcted Program Files folder.

In command line

Code:

msiexec /x {4743636A-D097-4F5F-8C4F-4F73BC32C0FC}


when unistalling it is aksing "Are you sure you want to unistall the product?" when i say yes.

Its shows a message "This action is only valid for products that are currently installed."

it is not unistalling the MSDE.

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

Hi,
Its shows a message "This action is only valid for products that are currently installed."
This is shown because you are using the GUID of a product which is not currently installed.

Please make sure that you are using the correct GUID of MSDE with the msiexec /x command. Also, please test this command outside Advanced Installer to make sure that you will uninstall the correct package (MSDE).

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

Return to “Common Problems”