Create silent installation using Installshield Limited Edition - installshield-le

I want to create a Silent installation for MS SqlExpress; how can i create a Silent Installation just by one window and install SQLExpress 2008 using InstallShield?

Go to Application to run tab and add this line to parameters to run
/quiet /qn

Related

How to install vc++ redistributable without windows installer

In our product we had to disable the "windows installer" service (security-wise).
In Windows 2012 it is not possible to do so with sc.exe, so we had to change the value of the service in the registry
(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\msiserver ---> start = 4)
Now, as an upgrade process of our product, we need to install
"VC++ 2013 redist"
Is it possible to install this package without using windows installer?
Or, is it possible to start a "disabled" windows installer service without restarting the machine?
Instead of installing the VC++2013 runtime using Windows Installer you can put the needed files in the directory of your executable:
you can directly install redistributable Visual C++ DLLs in the application local folder, which is the folder that contains the executable application file.
(from Redistributing Visual C++ Files)

Visual studio 2012 fails: CompatibilityMode : Windows Program Compatibility mode is on

Guys I'm trying to install Visual Studio 2012 in Win8.1 but unfortunately I face this error:
Compatibility Mode : Windows Program Compatibility mode is on. Turn it off and then try Setup again
Could you please help me how to fix it step by step?
Go to installation (.exe) file.
Right Click on that file.
click on Properties option.
Then select to compatibility .
Check the option Run this program in compatibility mode for : and select for Windows 8.
In Settings Check the Run this program as an administrator.
finally ok and apply this setting and the .exe again.
I hope this will work surely.
This answer is from this link
Run the uninstaller until it fails
Go to task manager
Call up the context menu for the installer process (right-click)
Select ‘open file location’
This will open the package folder
Call up the context menu for the uninstaller executable
Select the ‘compatibility’ tab
Disable all compatibility settings over here
This could happen if you are trying to install the program from iso.
Extract it first to a folder, then install it from the folder. It worked for me.

unable to uninstall Visual Studio 2012

I am trying to uninstall Visual studio 2012 from my machine but is is not giving me any option for uninstalling the same. When I write click on Visual Studio 2012 in control panel/Program and Features, it shows CHANGE option and when I click on this option it display popup with following option.
Microsoft .Net Framework Required for Microsoft Visual Studio Professional 2012 Setup.
Click Accept and Install to accept Microsoft Framework license Term.
When I click on this option, it doesn't perform anything and dont uninstall it. Can u please suggest me any option to remove it and install it again. This is licenced copy of the same.
You could try forcibly removing VS2012 and all its components
http://support.microsoft.com/kb/2771441#Force
1. Download the setup application you used to originally install Visual Studio 2012. If you installed from media, please insert that media.
2. Open a command prompt.
3. Click Run on the Start menu (Start + R).
a. Type cmd and press OK (Enter).
b. Type in the full path to the setup application and pass the following command line switches: /uninstall /force
Example: D:\vs_ultimate.exe /uninstall /force
4. Click the Uninstall button and follow the prompts.
Download msiinv.zip from the following location
https://skydrive.live.com/?cid=27e6a35d1a492af7&id=27E6A35D1A492AF7%21910&authkey=!ANs8Pr0aVhaT_qQ
Extract the contents of msiinv.zip to the folder c:\msiinv on your
system
Click on the Start menu, choose Run, type cmd and click OK
Type this command: c:\msiinv\msiinv.exe -p >
c:\msiinv\msiinv_output.txt
Note: This command must be run from a cmd prompt or it will not create a log file as expected.
These steps will create a text file named c:\msiinv\msiinv_output.txt with a list of each product that Windows Installer thinks is installed on the system. Then you can open the text file in any text editor and search the list of products for the name of the product that you want to uninstall.
Output in the text file will be displayed like this:
Microsoft .NET Framework 2.0 Beta 2
Product code: {7A1ADD0C-17F3-47B8-B033-A06E189C835D}
Product state: (5) Installed.
Package code: {856D48D2-6F94-466D-9732-534DB5854FB3}
Version: 2.0.50215
Now we have the Windows Installer product code and we can use that to uninstall the product by running msiexec /x {product code} (make sure that you include the curly braces in this command line). If the product is actually installed on your system you will see a progress screen and uninstall will complete.
If Windows Installer thinks that the product is installed but it really isn't, then running msiexec /x will give you an error stating that this command is only valid for installed products. If this happens, you will need to perform an extra step to remove the data that causes Windows Installer to think this product is installed. You can download the Windows Installer Cleanup Utility and install and run it on your machine to fix this.
Reference: http://blogs.msdn.com/b/astebner/archive/2005/07/01/434814.aspx
If you still have the installer disk, you can run the following command and it removes everything except for a few of the SQL 2012 apps stayed when I ran it.
vs_ultimate.exe /uninstall /force
or in my case
vs_premium.exe /uninstall /force
Here is the link to the Microsoft article on the topic, and the article lists all the installed applications so if you need to manually remove some you have a list to go off of.
https://support.microsoft.com/en-us/kb/2771441#Force
Windows update service is using that log file. Do as follows:
Type services.msc in run
check for windows update service and stop the service.
go to C:\windows\windows update.log file and check the properties. The file should have read\write rights. (Note this is a operating system file.You need to make it visible in files and folder option first.)
Now try to uninstall the Package.
Simply use a CCleaner programs (Bing it)
Goto "tools" menu on the bottom left > Uninstall > Select "Microsoft Visual Studio Professional 2012" then click "Run Uninstaller"
Finish.

Cancel installation of the Application but Silent Application is not stop its installation

I created a setup file using InstallShield application and it has some per-requisite conditions for installing the application like .NET framework 4.0.
Now whenever user install this application at that time first we check that Framework is installed on that machine or not. If it is not installed then i installed it silently which is already packaged with MSI. For silent installation i use '/q /s /norestart' parameters.
But the problem is suppose user quite the installation of my application then after installation of the .NET framework is not getting cancel.
What should I do..? Is there any need to change installation parameters..? Or may i need to add parameters for .NET framework application while it is installed in silent mode..?
Please Help me.
Thanks.
Try using these command line parameters:
/passive /norestart
This way the .NET Framework installer will show a progress bar and the user can cancel its install. There is no way for the EXE bootstrapper to automatically cancel a third-party installation.
As a prerequisite, only MSI installations can be cancelled, and then only if the prerequisite is set to capture the MSI's progress. In all other cases, there is no way for InstallShield to know how to cancel a prerequisite's setup, silent or otherwise.

Silent install parameter ignored, InstallShield 2009

I've just inherited an InstallShield 2009 project from a guy who left (oh joy) and am trying to get the setup.exe to run in silent mode. The project is a Basic MSI project and according to the documentation, I should be able to specify the /s switch combined with /v/qn to make the installer and MSI process silent. However, when I do this, the process shows all the dialogs as normal. I've tried generating an answer file with the /r switch, but this fails to produce any sign of a setup.iss any where (I checked the windows folder, which is where it apparently goes).
Why would the process be ignoring the silent commands? I can see nothing in the install log that indicates a problem... The command line I am using is this:
setup.exe /s /v/qn
I've tried various combinations of lower and uppercase to no avail. Any advice would be appreciated.
Steve
Edit:
I've also tried:
setup.exe /s /v"/qn"
Which did not work also.
Edit 2:
It might be worth pointing out that the installer is performing and upgrade from a previous version of the product to a newer version. The first dialog that pops up is the "extracting msi" dialog followed by the "welcome to upgrade" dialog.
The following should work for InstallShield 9:
Setup.exe /s /V/qn
If you want to send commands to the MSI, do the following:
Setup.exe /s /V"/qn ADDLOCAL=ALL"
NOTE: The v is capitalized. Some versions of InstallShield use lowercase and others use Uppercase for v.
Try
setup.exe /s /v"/qn"
Basically /s is to tell setup.exe to run silent and /v is to pass parms to MSI so you have to wrap it in quotes. /qn tells MSI to run with no UI.
Setup.exe and Update.exe Command-Line Parameters
The Command-Line Options for the Microsoft Windows Installer Tool Msiexec.exe

Resources