Home

Replace EXE/MSI app with MSIX

%3CLINGO-SUB%20id%3D%22lingo-sub-366622%22%20slang%3D%22en-US%22%3EReplace%20EXE%2FMSI%20app%20with%20MSIX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-366622%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20very%20excited%20about%20MSIX%2C%20I%20am%20doing%20some%20initial%20testing%20and%20packaging%20and%20I%20wonder...since%20MSIX%20stores%20user%20data%20into%20it's%20own%20private%20appdata%2C%20can%20I%20somehow%20deploy%20MSIX%20to%20machine%20that%20has%20the%20traditional%20MSI%2FEXE%20application%20and%20preserve%2Fconvert%20user%20data%20into%20MSIX%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%20Google%20Chrome%20browser....user%20having%20their%20own%20bookmarks%20and%20settings%20-%20is%20there%20any%20way%20how%20to%20deploy%20MSIX%20into%20the%20environment%20and%20transfer%20everything%2C%20or%20would%20they%20have%20to%20start%20all%20over%20with%20their%20bookmarks%20and%20stuff%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-389026%22%20slang%3D%22en-US%22%3ERe%3A%20Replace%20EXE%2FMSI%20app%20with%20MSIX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-389026%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F284750%22%20target%3D%22_blank%22%3E%40michalkala123%3C%2FA%3E%26nbsp%3B%20The%20ability%20to%20have%20settings%20and%20data%20changes%20made%20by%20the%20application%20redirected%20to%20somewhere%20outside%20of%20the%20user's%20AppData%2FLocal%20folder%20is%20critical%20for%20several%20scenarios%2C%20including%20non-persistent%20VDI%2C%20semi-persistent%20RDS%2C%20hot-desking%2C%20and%20even%20physical%20device%20refresh.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20Bogdan%20indicated%2C%20his%20companies%20approach%20might%20do%20what%20you%20want%20in%20the%20package%20today.%20You%20can%20also%20probably%20handle%20it%20today%20using%20an%20external%20product%20like%20UEV%2C%20or%20other%20%22User%20Environment%20Management%22%20products%20that%20have%20their%20own%20form%20of%20redirection.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBut%20(hopefully)%20help%20is%20also%20on%20the%20way%20for%20solving%20this%20within%20the%20package%20via%20the%20PSF.%26nbsp%3B%20I%20proposed%20a%20change%20last%20fall%20to%20allow%20the%20PSF%20to%20direct%20the%20location%20of%20redirected%20settings%20and%20data.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20started%20with%20a%20couple%20of%20other%20simpler%20PSF%20projects%20that%20were%20recently%20included%20in%20the%20PSF%20(and%20another%20free%20%22helper%22%20project%20called%20PsfTooling%20that%20is%20independently%20released%20by%20me%20in%20the%20Store).%26nbsp%3B%20Now%20that%20those%20are%20done%2C%20I%20have%20begun%20working%20on%20the%20redirection%20location%20changes%2C%20and%20have%20working%20code%20for%20PSF%20and%20PsfTooling.%20It%20needs%20a%20bit%20more%20work%20on%20edge%20cases%20before%20submission%2C%20but%20hopefully%20will%20get%20submitted%20into%20the%20PSF%20sometime%20before%20too%20long.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-382713%22%20slang%3D%22en-US%22%3ERe%3A%20Replace%20EXE%2FMSI%20app%20with%20MSIX%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-382713%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F284750%22%20target%3D%22_blank%22%3E%40michalkala123%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFrom%20what%20I%20know%20you%20would%20need%20to%20write%20your%20own%20custom%20code%20to%20copy%20the%20data%20from%20the%20install%20location%20to%20the%20user%20app%20data%20folder.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EApplications%20like%20ours%20(Advanced%20Installer)%20do%20this%20automatically%2C%20so%20you%20don't%20need%20to%20write%20code.%20Here%20is%20an%20example%20were%20we%20even%20migrate%20data%20from%20an%20app%20previously%20installed%20with%20an%20MSI.%20But%20it%20can%20do%20the%20same%20for%20apps%20that%20you%20install%20for%20the%20first%20time%2C%20as%20in%20your%20scenario.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DV3xqJ5l0HpY%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E-%20user%20data%20migration%20video%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
michalkala123
Occasional Contributor

Hi, very excited about MSIX, I am doing some initial testing and packaging and I wonder...since MSIX stores user data into it's own private appdata, can I somehow deploy MSIX to machine that has the traditional MSI/EXE application and preserve/convert user data into MSIX?

 

For example Google Chrome browser....user having their own bookmarks and settings - is there any way how to deploy MSIX into the environment and transfer everything, or would they have to start all over with their bookmarks and stuff?

 

Thank you

2 Replies

Hi @michalkala123 

 

From what I know you would need to write your own custom code to copy the data from the install location to the user app data folder.

Applications like ours (Advanced Installer) do this automatically, so you don't need to write code. Here is an example were we even migrate data from an app previously installed with an MSI. But it can do the same for apps that you install for the first time, as in your scenario.

 

- user data migration video

Highlighted

@michalkala123  The ability to have settings and data changes made by the application redirected to somewhere outside of the user's AppData/Local folder is critical for several scenarios, including non-persistent VDI, semi-persistent RDS, hot-desking, and even physical device refresh.

 

As Bogdan indicated, his companies approach might do what you want in the package today. You can also probably handle it today using an external product like UEV, or other "User Environment Management" products that have their own form of redirection. 

 

But (hopefully) help is also on the way for solving this within the package via the PSF.  I proposed a change last fall to allow the PSF to direct the location of redirected settings and data. 

 

I started with a couple of other simpler PSF projects that were recently included in the PSF (and another free "helper" project called PsfTooling that is independently released by me in the Store).  Now that those are done, I have begun working on the redirection location changes, and have working code for PSF and PsfTooling. It needs a bit more work on edge cases before submission, but hopefully will get submitted into the PSF sometime before too long. 

 

 

Related Conversations
Find and Replace with Growing Number
ryan_k in Word on
0 Replies
Replace when wild cards used
Bud Tripp in Excel on
2 Replies
Tilde not working to replace asterisk?
dmharris in Excel on
3 Replies
Using Replace to remove unspecified amount of letters
Family Lieberman in Excel on
2 Replies