The MSI when created, is like a portable database that holds all the  
information related to the application your installing.  The  
WiXInstall_Dir modifies the entry that points to the proper location.   
After your app is installed the Application Info gets stored in the  
registry under the GUID you created.  The Change Function is the  
preferred way to change the required registry entries without  
completely removing your application.  It's commonly referred to as a  
repair or upgrade installation.  This method leaves the installed  
features that are prerequisites in their original location.  Trying to  
use this method with your application results in nothing being  
accomplished because the MSI knows the Application is already  
installed, and since you aren't adding or removing features.  In the  
end it looks as if nothing happened.  If you want to completely move  
the Application, the only way to do so, would be to uninstall it,  
which removes the entry in the MSI Database and the registry.   
Reinstalling it puts new entries etc.

Sorry for the long explaination, but I'd rather teach a man to Fish  
instead of just tell you yes.

Carter

Quoting Adam Kadzban <mightyshorta...@gmail.com>:

> I'd like to completely move the application from Location X to Location Y.
> If I'm understanding you correctly, the "Change" functionality only allows
> you to modify which features are installed, not _how_ they are installed
> (i.e. install location). Is the only solution to force the user to
> uninstall and reinstall?
>
>
> On Fri, Apr 4, 2014 at 9:38 AM, Carter Young <ecyo...@grandecom.net> wrote:
>
>>
>> Are you saying that you want to Move the Application already installed
>> in Location X to Location Y with it still installed in X?  If that's
>> the case you can't as the MSI only supports Uninstalling Location X
>> from the Control Panel, and reinstalling in Location Y, unless you
>> allow multiple GUIDs, which I highly don't recommend.  One way to
>> accomplish part of your task is to write the Settings you need from
>> Location X to a Configuration File in the %AppData% folder, and then
>> include the config settings in the wix setup deployment
>>
>> Carter
>>
>> Quoting Adam Kadzban <mightyshorta...@gmail.com>:
>>
>> > I don't see how a checkbox will help with my problem. I have an
>> application
>> > installed in folder X. I want to run the installer and change the
>> > application to be installed to folder Y.
>> >
>> >
>> > On Thu, Apr 3, 2014 at 10:24 PM, Carter Young <ecyo...@grandecom.net>
>> wrote:
>> >
>> >> Then use the checkbox I recommended earlier.
>> >>
>> >> Carter
>> >>
>> >> On Thursday, April 03, 2014 09:50:37 PM Adam Kadzban wrote:
>> >> >Thanks for the reply Carter, but I'm not using the Feature Tree. The
>> >> >WixUI_InstallDir template is just Welcome -> License -> InstallDir ->
>> >> >VerifyReady -> Complete.
>> >> >
>> >> >There's only one feature to this application, I just want to "Change"
>> >> the
>> >> >install and move the files to a different location.
>> >> >
>> >> >Thanks,
>> >> >Adam Kadzban
>> >>
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> _______________________________________________
>> >> WiX-users mailing list
>> >> WiX-users@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/wix-users
>> >>
>> >
>> ------------------------------------------------------------------------------
>> > _______________________________________________
>> > WiX-users mailing list
>> > WiX-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wix-users
>> >
>> >
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>




------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to