Installer for Windows 8.1 store app - deployment

I have purchased the Windows sideloading key to deploy an LOB app without using
Windows Store. My clients are reluctant to use powershell to install the app.
Is there a way to automate the powershell installer to a much more user friendly
way? So I can give a one click installer to install the app on devices.
Using an MDM is very costly, devices can't be domain joined either, and I don't know any other way of doing it. Please help.

Try WiX Poweshell extension, https://github.com/flcdrg/PowerShellWixExtension and create standalone installer.

Related

Installer for Windows 8.1 App outside Windows Store

I have a universal windows application for windows 8.1 and windows phone (WAP)
But my customer doesn't have access to the windows store, there's a way to use Installshield or something similar to generate a Setup Installer?
At the moment i have to type some code in powershell and it's really annoying and unprofessional.
There's a workaround for this situation?
The Suite/Advanced UI project type (Premier edition of recent enough versions—probably 2012 Spring) has support for side-loading .appx packages. More recent versions (2016 or so) add support for Windows 10 UWP App Packages.

Upgrade ClickOnce Application using Windows Installer. Is this possible?

Few machines have 'MyApp.exe' installed using ClickOnce. And I have created a new MSI Windows Installer for 'MyApp.exe' using MS Visual Studio 2013 Setup and Deployment. I have a requirement that when my new MSI Installer runs it has to automatically remove/uninstall all previous 'MyApp.exe' (installed using ClickOnce) and install the new exe. Installer has to do it as part of its installation process.
Is this even possible? ClickOnce doesn't make any registry entries, so how can I get the Upgrade codes/Product codes which I can feed to Windows Installed 'Upgrade Paths' to upgrade it. ClickOnce is per user installation, but Windows Installer is not.
Is it even possible for Windows Installer to uninstall ClickOnce installed application ?
Any help is greatly appreciated. Thanks
ClickOnce is a per-user deployment experience and MSI is usually a per-machine experience. Per machine can't clean up other people's profiles. The only way I know is to do an active setup trick to run a program for each user who logs on and then execute a script to do cleanup. Either that or put first-run code in the applicaton itself to do the same.

Backup data files in LocalState folder before uninstall Windows Store apps

I've developed a Windows Store apps and save some data in SQLite, and the data file is in LocalState folder.
I know for the OS policy when I uninstall the app from windows, the appdata folder will delete automatically.
My question is
1. Is there any idea to deny user uninstall some specified Windows Store apps that I developed from windows?
If I can do it, I think can develop a Windows Program to install & uninstall Windows Store apps by using Powershell, and I can backup the LocalState data by C# code.
2. If No.1 is impossible, can I catch the uninstall action from Windows?
I think I can develop a Windows Service and set it to Auto Run when windows startup, and if I can catch the uninstall action from Windows by using the Windows Service that I developed, I can backup the data by C# code in Windows Service.
Is there anybody who can help me out?
Thanks.

Do I need to sign my ClickOnce app in order to be able to execute it from other PCs?

Do I need to sign my ClickOnce app in order to be able to execute it from other PCs?
I'm trying to execute the app from another PCs and is not possible. I can't do it. Not even on my machine unless I create a test certificate with visual studio.
If it is a VSTO application, yes.
For WinForms/WPF/Console, not necessarily. Are you deploying it to one PC and trying to install it? Where are you deploying it to? A file share or a webserver? What happens when you try to install it on the other machine?
What version of .NET are you targeting? It only works with .NET 3.5 SP-1 and .NET 4.

How do I make a custom .net client profile installer?

For .net 3.5 SP1, Microsoft have the new client profile which installs only a subset of .net 3.5 SP1 on to Windows XP user's machines.
I'm aware of how to make my assemblies client-profile ready. And I've read the articles on how to implement an installer for ClickOnce or MSI.
But I've been using Inno Setup for my project so far and I'd like to continue to use it (as an Express user, I can't easily make MSIs), I need to know how to use the client-profile installer in a custom environment.
There is an article on a Deployment.xml schema, but no indication of how to write one, package it or anything else. Can someone explain this process? Finding the articles I linked to alone was a painful search experience.
Microsoft has now shipped the Client Profile Configuration Designer (Beta).
This designer lets you edit the XML files with some limitations, this isn't a 'Google beta' by any means.
Information and download
Can you clarify: Are you trying to write an installer for your app, which depends on the Client-Profile, or are you trying to write a custom installer for the client-profile?
I haven't used it personally, but if it's anything like the dotnetfx 1 and 2 msi's, you basically have to just invoke it's executable yourself from your own .exe file, or from an Msi BEFORE the InstallExecuteSequence starts up - you can't "embed" those in your own app, MS go out of their way to tell you not to do that due to suckage of MSI.
Client profile works only on clean XP. If your user as .Net 1 or 2 installed, client profile wont install...
You have an offline version (integrating Full .Net3.5 Install in case Client Wont install) 200 to 300Mo don't remember
Online version will get required files.
You can call a silent install from the first steps of your install.