Greetings,
With my app I install a Dll server for the Windows shell. The server is registered and unregistered properly by Inno by using the flag "regserver".
However if any explorer windows are open the dll is in use and cannot be deteled by Inno. How can I delete the dll automatically and uninstall the app properly?
Regards,
Cosmin
In addition to the regserver flag you could use the uninsrestartdelete flag for your shell extension. To quote from the Inno Setup help ([Files] section):
When this flag is used and the file is in use at uninstall time, the uninstaller will queue the file to be deleted when the system is restarted, and at the end of the uninstallation process ask the user if he/she wants to restart. This flag can be useful when uninstalling things like shell extensions which cannot be programmatically stopped. Note that administrative privileges are required on Windows NT platforms for this flag to have an effect.
Related
We have developed a Windows .NET+WPF app and a .msi installer. The app is always installed for all users by admin. We would like the app to be automatically updated from predefined location (a shared folder in a network) on start. I think we can just have a code in the app which downloads a new .msi from the shared folder and then starts it. But the .msi needs to have administrative privileges to install for all users. Is there any way to give right to all users to update the app to a new version? Can we give them something during the initial installation, what everybody can run but it runs "as administrator" to install the new version of the app?
As I recall, that's the standard behavior when doing a minor upgrade. See:
https://learn.microsoft.com/en-us/windows/win32/msi/authoring-packages-without-the-uac-dialog-box
For major upgrade, UAC elevation will be required each time unless you can also write a helper service that advertises / blesses the MSI using the msiexec /jm command.
I've developed a VSTO addin with VS2012 signed by a DigiCert certificate. I need to deploy it to all the Enterprise users so the installer shouldn't prompt the user because it will fail since all the installation process is silent.
I'm not able to do it since it always ask the user if it should or shouldn't install. If I set VSTOInstaller /S it doesn't install 'silently'.
Is there any way to do this?
Thanks on advanced.
I found the answer. To solve this you have to install the public key certificate in your installer:
certutil -addstore TRUSTEDPUBLISHER "yourcertificate.cer"
Then, you just use VSTOInstaller:
VSTOInstaller.exe /I "youraddin.vsto" /S
That's all folks!
Yes you can.
Just Uncheck the ClickOnce manifest CheckBox and Check the signing the assembly using any .snk file.
You will need to create installer project and the rebuild the installer project will provide you the .msi and .exe file you can execute the following command on command prompt(Administator).
Though rebuilding of installer project will automatically check the ClickOnce checkBox but you can ignore that.
Below is the link for creating Installer project for AddIn.
https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2010/ff937654(v=msdn.10)
Looks like you need to GPO for deploying the software (using MSI installers).
How to use Group Policy to remotely install software in Windows Server 2008 and in Windows Server 2003
How to use Windows Installer and Group Policy to deploy the VPModule.msi in an Active Directory domain
Installing Software Using GPO
Also see the Deploying an Office Solution section in MSDN.
i have a problem with the installation of a Firebreath plugin on Windows XP machine.
I'm using Visual Studio 2008 setup project to place generated plugin dll in program folder to get the plugin work but when i run the installer the plugin is usable only by the user who install the plugin and if i log in the machine with another user with limited privileges Firefox cannot see the plugin.
What i'm doing wrong with this process?
Should i use Wix installer instead of Visual studio 2008 setup project to get the plugin work for all users in the machine ?
What is the correct "Firebreath" way to install a plugin and to make it visible to all users in the machine?
Thank for your time!
Francesco.
1) Nothing. This is as designed; FireBreath installs per-user by default, always has. This is a feature, since it means you don't have to have administrator privileges to install.
2) Not by default, no.
3) Uncomment the following line in your PluginConfig.cmake file and rerun the prep script:
# If you want to register per-machine on Windows, uncomment this line
set (FB_ATLREG_MACHINEWIDE 1)
I am trying to install apache server from this Link using the NetWare Binary: httpd_2.4.3-netware-bin.zip link to be precise, I was looking at the internet for a good guide Not using the .msi installer becouse there is no .msi installer at the folder i unzip after i downloaded the zip file from the link above, And becouse i want to learn how to install not using the .msi installer at all, So if anyone know a way to install the apache server not using the .msi installer i will be very thankful, Thank you all and have a nice day.
Since you are looking for a msi installer, you probably want the win32 version and not the NetWare one. Pick the appropriate one from here: http://ftp.download-by.net/apache//httpd/binaries/win32/
If you want to install without a msi, you still don't want a NetWare version if you are running Windows.
You can read more about the NetWare operating system here: http://en.wikipedia.org/wiki/NetWare
More easy install Xammp you have allinone solution for win 32/64 with php version 5.6.3 embed
with:
Backup and Restore MySQL Databases
Configure FTP Access
Configure Virtual Hosts
Configure Wildcard-Based Subdomains
Deploy an Application Using Git
Get Started Quickly with WordPress
Reset the MySQL Root Password
Send Mail with PHP
Troubleshoot Apache Startup Problems
Simple and cool isn't it ??
When installing an MSI package, any shared files which get upgraded will automatically force the other components/services that use that file to restart. This is done using the Restart Manager on Windows Vista and above.
In my situation, one of the files being upgraded is a file that belongs to the service which is actually running the install. This service takes control of when to reboot the machine itself, but because it gets restarted, it doesn't get the return code from the MSI process that says it needs a reboot. Hence the machine doesn't reboot, leaving the system in a broken state.
I need some way to prevent this control service being restarted, and instead allow it to reboot the whole system instead. Windows Installer can schedule files to be copied on the next reboot, but how do I force this behaviour in the case of these shared files?
Use the various restart manager MSI properties to prevent the Restart Manager from kicking in (specifically MSIRESTARTMANAGERCONTROL=DisableShutdown)
Add a ScheduleReboot action to prompt the user to reboot on completion of installation
You can force a system restart by scheduling a ForceRoboot action. You can condition the execution of this action to suit your needs.