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
Related
I am using visual studio 2017 Pro along with InstallShield Lite. I have set a prerequisite to install c++ 2017 distributables(x86).
The problem is, that install shield, specifies a command of /q/noreboot. Notice that there is no space between /q and /noreboot.
The consequence of this is that your installation program will give an error on the installation of the redistributable under all circumstance.
For example, if the redistributable is not installed, it will actually install it but then give an error that the install failed. In fact it has installed it. If it is installed already or there is a higher version it will not install it but also give the same message that it has failed. This is confusing for the end user of the application since he always has to specify to continue anyways. On the other hand, if you have the space /q /noreboot it always works perfectly fine and doesn't give an error (at least with testing at a command line outside of InstallShield. So the question is how can one modify the command line for the prerequisite in Visual Studio Lite?
Thanks
I'd say that the redistributable is added via .prq file. You can directly edit the .prq file for the required redistributable. It can be found in the InstallShield installation folder by default c:\Program Files (x86)\InstallShield\2018\SetupPrerequisites\ and then re-add the redistributable.
The behavior exists on all computers. I have finally determined this to be a bug in Installshield LE which has existed since 2010 and still exists in LE 2018.
However, there is a solution in the .prq file if you add a flag in the behavior tag so that it now includes the "Hidden="1" parameter, the prerequisite will install fine if not present, not install if it or a newer version exists, and not complain to the end user. In other words it installs silently like it is supposed to.
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.
I want to take some of MSDN help files offline on a windows machine which does not have visual studio installed on it. the problem is that I cannot find a way to get and install Help Library manager and Help viewer without installing the visual studio or sql server.
How can I install them without installing the visual studio or sql server?
I just wrote an answer on how to do this for an older question, which can be found here.
For convenience, here are the essential steps to get Help Viewer 2.2 to run without going to the trouble of installing a complete copy of Visual Studio 2015:
Most of the files required by HlpViewer.exe can be found on the Visual Studio DVD in two different MSI packages. By passing some additional command line arguments to msiexec, it's quite easy to install them manually:
msiexec.exe /i help3_vs_net.msi VS_SETUP=1
msiexec.exe /i vs_minshellcore.msi MSIFASTINSTALL="7" VSEXTUI="1"
While this installs most necessary files, it doesn't account for all of them ... to keep things simple, I copied the rest of them from a working installation on another computer:
C:\ProgramData\Microsoft\HelpLibrary2
Essentially only contains a CatalogType.xml and some empty directories.
C:\Program Files (x86)\Microsoft Help Viewer\v2.2\CatalogInfo\VS11_en-us.cab
Moreover, it's necessary to provide the application with a valid ContentStore path by importing the following .reg file:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help\v2.2\Catalogs\VisualStudio14]
"LocationPath"="%ProgramData%\\Microsoft\\HelpLibrary2\\Catalogs\\VisualStudio14\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help\v2.2\Catalogs\VisualStudio14\en-US]
"SeedFilePath"="C:\\Program Files (x86)\\Microsoft Help Viewer\\v2.2\\CatalogInfo\\VS11_en-us.cab"
"catalogName"="Visual Studio Documentation"
Finally, I created a new Application Shortcut and changed its Target: to read as follows:
"C:\Program Files (x86)\Microsoft Help Viewer\v2.2\HlpViewer.exe" /catalogName VisualStudio14 /launchingApp Microsoft,VisualStudio,14
Et voilà!, with that HlpViewer.exe should finally execute without any problems!
In MSDN to USB v2.5, you don't have to have any Visual Studio IDE installed:
https://stackoverflow.com/a/66595500/3268088
I know its old question. I just run into a problem involving Help Viewer.
my recovery steps are :
get sqlexress installer (if you haven't got one)
after extracting the files, check its folder and find for "help" folder
I got mine "SQLEXPRWT_x64_ENU\redist\VisualStudioShell\Help\x64"
run install.exe with administration priveleges (Run as Administrator)
all done.
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
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.