Feb 16, 2016
07:54 AM
Hi All, I have a weird issue for the last few days now, i've been looking for a solution in the forums, google etc. So far, couldn't find a similar problem: Scenario: 1. I have an "Basic MSI" project that deploy our company product. 2. everything worked OK till i needed to add installation of VS 2012 C++ redistributables. 3. i'm using the installscript to initiate a command line for installing it quietly - 'vcredist_x64.exe /q'. 4. if the custom action is being added to the execute sequance, the following error is coming from the "VS 2012 C++ redistributables. - ERROR 0X80070652: ERROR_INSTALL_ALREADY_RUNNING.This error is due to Another installation is already in progress. Complete that installation before proceeding with this install. 5. if running it manually, regardless to the IS installation, everything is working perfectly. 6. Also, when the custom action is on the UI sequance - works great. - i cannot leave it on the UI sequance, since our product is being deployed quietly along with some Audio drivers. 7. I've been trying to change into a different project type - "installscript MSI"... Same error. Please advise, thanks for any inputs. Gil.
... View more
- Tags:
- 0x80070652
- c++ 2012
Labels
- Labels:
-
InstallShield 2014
Feb 11, 2015
05:16 AM
Hi DLee65, As i said, at first the custom action was in "UI sequence", when realizing this sequence is being ignored on silent, i moved this custom action into "Exec sequence". In Exec sequence it is the and an "Immediate Execution". Hope this info will help you understanding the issue. Thanks! Gil.
... View more
Feb 08, 2015
04:58 AM
Hi All, I have a situation which i cannot find any solution for the past few days, and before giving up.. i'm trying this forum; The issue is: I have a basic MSI project that need to extract some archived files which are not part of the installation, e.g. i've got 2 files: 1. Setup.exe/msi (generated by IS) 2. Data.cab - which i packed manually. the desired scenario is... 1. double click / silent run of setup.exe 2. installation will extract Data.cab into cause this files are needed later on in the installation. 3. Setup.exe/msi will continue installation as this files were coming as 'support files' The motivation behind this sort of solution is that often updates of Data.cab files will not drag another release of Setup.exe. The problem: For extracting the Data.cab file, i must resolve SourceDir, which works perfectly when my custom action is being initiate in UI sequence. When i realized that in Silent mode this sequance is being skipped, i moved this extract custom action into exec sequance, but now SourceDir is always empty. I've tried any other MSI property that i can think of (SOURCEDIR, SourceDir, SRCDIR, SETUPEXEDIR etc.) but non of them will give the initial path were Setup.exe was located. Any knowing solution to my problem ? Maybe there is another way to handle files outside the installation package ? I'm guessing i'm not the only one that need facing this. Thanks in advance, Gil.
... View more
Labels
- Labels:
-
InstallShield 2014
Nov 17, 2014
03:18 AM
Hello everyone, I'm trying to write some logging activity to text file using the installscript. Basically, it's should be a simple task (as seen on InstallShield help) Here is my code: logPath = "c:\\"; logFileName = "gil.log"; nvRet = CreateFile ( nvFileHandle, logPath, logFileName); if ( nvRet < 0) then NumToStr(nvRetStr,nvRet); MessageBox("Error(" + nvRetStr + ") - Cannot create log file: " + logPath + logFileName,INFORMATION); exit; else MessageBox("Successfully created log file: " + logPath + logFileName,INFORMATION); endif; The problem is that i always get -1 from CreateFile, i've tried to change file location, name, different PC, running in debug and release setup.exe, it always the same... error code -1. I can't think of anything else which may causing this error, and furthermore - i can't seem to find proper documentation or list of error code and reasons. Will appreciate any help or suggestions, Gil.
... View more
Labels
- Labels:
-
InstallShield 2014
Aug 24, 2014
09:58 AM
Hi everybody, I’m a newbie at installshield so I hope my question is relevant to this forum. I’ve got basic MSI installation made by install shield, which installing our company’s product. Today, the installation is packing within the MSI file all the relevant files needed for successful installation, (e.g. our executable, some scripts, and some data files – mostly text ones). The problem is that ‘Data’ file is changing rapidly, meaning it can be changed every few hours, while all other files remains the same (changes only once a week or so), Since all files are packed inside the MSI file, there is a need to rebuild MSI each time the data changes. We wish to separate this operation, so ‘Data’ files can be changed without issuing new MSI each time. The problem is that we don’t want to just put the accessible ‘Data’ text file in the same folder as the MSI executable to prevent from users to change it. What are my options to pack and/or encrypt all those ‘Data’ files ?, that it can be changed quickly, but will not be accessible to anyone, but the MSI installation will be able to extract and read them ? Maybe some Binary conversion ? Of cause that zipping and similar archiving is not good (most of advanced users can overcome password protected archiving very easy). Thanks in advance, Gil.
... View more
Labels
- Labels:
-
InstallShield 2014
Latest posts by Gil_Rozenberg
Subject | Views | Posted |
---|---|---|
2277 | Feb 16, 2016 07:54 AM | |
1352 | Feb 11, 2015 05:16 AM | |
3248 | Feb 08, 2015 04:58 AM | |
1878 | Nov 17, 2014 03:18 AM | |
1259 | Aug 24, 2014 09:58 AM |
Activity Feed
- Posted 0x80070652 - when installing VS 2012 C++ redistributables. on InstallShield Forum. Feb 16, 2016 07:54 AM
- Tagged 0x80070652 - when installing VS 2012 C++ redistributables. on InstallShield Forum. Feb 16, 2016 07:54 AM
- Tagged 0x80070652 - when installing VS 2012 C++ redistributables. on InstallShield Forum. Feb 16, 2016 07:54 AM
- Posted Re: Resolving original SourceDir while installaing as silent. on InstallShield Forum. Feb 11, 2015 05:16 AM
- Posted Resolving original SourceDir while installaing as silent. on InstallShield Forum. Feb 08, 2015 04:58 AM
- Tagged Resolving original SourceDir while installaing as silent. on InstallShield Forum. Feb 08, 2015 04:58 AM
- Tagged Resolving original SourceDir while installaing as silent. on InstallShield Forum. Feb 08, 2015 04:58 AM
- Tagged Resolving original SourceDir while installaing as silent. on InstallShield Forum. Feb 08, 2015 04:58 AM
- Posted CreateFile always return error code (-1) - please help on InstallShield Forum. Nov 17, 2014 03:18 AM
- Tagged CreateFile always return error code (-1) - please help on InstallShield Forum. Nov 17, 2014 03:18 AM
- Tagged CreateFile always return error code (-1) - please help on InstallShield Forum. Nov 17, 2014 03:18 AM
- Posted Managing some files outside MSI package on InstallShield Forum. Aug 24, 2014 09:58 AM