Good morning, I have a problem with a Wix installer (it is the first time I use wix) it turns out that when I start everything is fine, and it asks me for administrator permissions, in the "install" button it shows me the icon that I will need those permissions
when I click on Install,
I get the windows to notice to provide the permissions. Until there everything is fine. Then I run the installer again, and it gives me three options, Change - Repair- Remove
I click on remove (which also has the icon that needs Admin Privileges),
but it doesn't ask me for Administrator permissions and it executes the uninstall badly, it doesn't delete registry keys and other things.
I need you to always ask me for the permits. Can someone tell me what's going on?
Thanks
Related
I just watched at a customer site the execution of an MSI of ours that needs elevation, because it is a per machine install. The operator at the customer site was logged in as a consent administrator (i.e. with a restricted admin token) and simply launched the msi package of ours with a double click, went through the UI pages in order to finally hit the "Install" button on the standard WIX "Ready to install" page. What you would normally expect now is an elevation prompt, so the per machine install can be performed. What happened today when I observed this, was an attempt to perform the installation without administrative permissions, which surprised me. The install soon showed an error message stating "insufficient privileges" and a rollback was performed.
I have never observed such behaviour before. What could be the reason that the install does not "self elevate", i.e. does not show an elevation prompt after hitting the button "Install"? Is there any windows configuration setting that causes this behaviour? The computer in question was running Windows Server 2016, in case that matters.
Any help appreciated,
--
Stefan
I am new to Wix. I am using WiX 3.10.
The problem is that when I install a new .msi that I made, everything runs fine. However, when I re-install the same exact version (nothing changed), it goes straight to the "Finish" Screen.
What we would like to do is tell the user that he/she has the version already installed, or make a maintenance/repair/uninstall dialog appear instead when executing the same exact installer on their computer.
I have been able to prevent downgrades using the MajorUpgrade element in WiX, I just need to be able to tell the user that the version of the software is already installed in their computer or make a maintenance/repair/uninstall dialog appear
currently all I have is :
Using this code, when i click to install the second time, the screen goes directly to the "Finish" screen.
I have not found any discussion like this on the Wix Forums here nor in the Wix Users QA site.
Any help would be greatly appreciated.
Regards
Jay
WixUI_Common comes with the repair/change/remove dialog, just put it after your verityReadydlg, adn the second time you install the same version, it will go to the maintenance dlg
1
1
1
I am trying to build a WIX installer MSI Package. While installation process I am doing some registry entries which needs reboot to take effect..
Well my question is,
How to reboot on 1st time/fresh install (not on upgrade) and that to without using custom actions? (custom actions are restricted by several AntiVirus programs, well that's another story)
I have tried ScheduleReboot After='InstallFinalize' with several conditions like :
NOT REINSTALL, REMOVE="ALL", NOT UPGRADINGPRODUCTCODE, NOT INSTALLED.. but still it's rebooting always, And I also have checked that if I remove
Thanks
NileshV
It's possible that Windows wants to reboot anyway - if that's needed it will happen, so you first need to be sure that it is not rebooting by skipping the ScheduleReboot completely. As Chroistopher points out, if you're not setting the REBOOT property then Windows will reboot you anyway.
The condition you want is Not Installed. Unfortunately property names are case sensitive and your spelling of INSTALLED is wrong.
I downloaded the community edition of IntelliJ as ideaIC-14.0.2.exe.
I ran ideaIC-14.0.2.exe with evelated rights on a Windows 7 64 laptop with the 32 bit version of Java 6 installed.
I notice that two copies of ideaIC-14.0.2.exe appears in task explorer when none were previously present.
Both tasks go away without the setup wizard ever appearing5. I saw nothing related in the Event log.
Do you know how I might be able to overcome this issue and install this app?
Disabling the Firewall was previously suggested and tried.Usually, I run every setup program with elevated rights. I was told that I never need Admin rights to install. This time, I added myself to the Admin user group (which you would think shouldn't be possible!) and then ran setup after once again disabling my firewall. And this time, it worked! I suppose it's possible that I did not disable all of the firewall options last time, but I believe I did. If so, elevated rights must have been insufficient. I forgot to try unchecking the Unblock property on the file-that was a good suggestion, though.
I have created a path rule in Software Restriction Policies to install my msi (C:\temp\my_msi_file.msi). I have tried to install my application in non-admin account. It opens gently and starts installation. While installing it ended with the error "You do not have sufficient privilege to complete this action". In my installer i am accessing database and registry values. I think in this point the installation is fails. Is there anyway to run my msi application without admin privilege? It will be good to set in OS level.
Note: I want to give full access permission only the applications created by me.
Right click on the file; Select properties; Navigate to security tab; You can see the file permissions. Click edit. Select system in the list. Click Apply and Ok. Now you can install the file