I need to be able to uninstall files extracted from zip file
Posted: Fri May 16, 2014 1:10 pm
I'm extracting files from a winrar/zip archive to the $TARGETDIR$ directory in the MSIcode.
I would like to have these extracted files uninstalled when the user uninstalls the program from control panel.
Is this possible?
Examples of extracting files from zip file:
Run Program $SUPPORTDIR$\UnRAR.exe e -ppassword -o+ -y "$EXEDIR$\myarchive.rar" "$TARGETDIR$" (WAIT, get result into variable SUCCESS)
Or using:
Extract 7Zip Archive $EXEDIR$\myarchive.rar into folder $TARGETDIR$ (get result into variable SUCCESS)
I found a message board post from 2010 that said it wasn't possible hopefully its possible with the latest version of InstallAware as we absolutely need to have these files deleted on uninstallation of product.
viewtopic.php?f=2&t=7863
Thanks,
I would like to have these extracted files uninstalled when the user uninstalls the program from control panel.
Is this possible?
Examples of extracting files from zip file:
Run Program $SUPPORTDIR$\UnRAR.exe e -ppassword -o+ -y "$EXEDIR$\myarchive.rar" "$TARGETDIR$" (WAIT, get result into variable SUCCESS)
Or using:
Extract 7Zip Archive $EXEDIR$\myarchive.rar into folder $TARGETDIR$ (get result into variable SUCCESS)
I found a message board post from 2010 that said it wasn't possible hopefully its possible with the latest version of InstallAware as we absolutely need to have these files deleted on uninstallation of product.
viewtopic.php?f=2&t=7863
Thanks,