I’m looking for a script or method to delete 64 bit registry & sub keys during uninstall.
↧
Delete 64 bit registry & sub keys
↧
AdminStudio Package Query
Dear All,
I am using AdminStudio Professional 2012, I have some question on professional version, Is there any limitation of software repackage ?
Such as number of program/software files and program/software type ?
BAT, CMD, COM, MSI, REG, VBE, VBS
I am using AdminStudio Professional 2012, I have some question on professional version, Is there any limitation of software repackage ?
Such as number of program/software files and program/software type ?
BAT, CMD, COM, MSI, REG, VBE, VBS
↧
↧
Execute a VBS/BAT/ File from InstallScript
Dear All,
I am beginner of InstallShield 2012 Professional. After software packaged, I need to modify the MSI on Installshield
Anyone can be help
- Execute VBS/BAT/MSI/EXE from Installshields
- Add ODBC connection and configuration
- Add Sequence Installation.
Please help !!! Thanks
I am beginner of InstallShield 2012 Professional. After software packaged, I need to modify the MSI on Installshield
Anyone can be help
- Execute VBS/BAT/MSI/EXE from Installshields
- Add ODBC connection and configuration
- Add Sequence Installation.
Please help !!! Thanks
↧
Major Upgrade - Installation path
Hi,
I planning to merge a two setup into one. The setups are Fresh install and Upgrade install. The some of components are available in both the setup, But the installation path will be different from one to another. When i upgarde the existing product (Fresh Install). I need to keep the component which installed by Fresh Setup and also Install the same components in different location while upgrading. Please help on how can i organise my project, how to create a directory based on installation type whether it is fresh or upgrade, if setup is fresh installation is no problem. if the installation is upgrade install the component in different location and also installation location (fresh). I am trying to create a setup without duplicate the componets.
All the suggesstion and feedback are welcome.
Thanks in advance for your spare time with me.
Note: I used Installshield Dev Studio 9.01
Regards
Murugesan.R
I planning to merge a two setup into one. The setups are Fresh install and Upgrade install. The some of components are available in both the setup, But the installation path will be different from one to another. When i upgarde the existing product (Fresh Install). I need to keep the component which installed by Fresh Setup and also Install the same components in different location while upgrading. Please help on how can i organise my project, how to create a directory based on installation type whether it is fresh or upgrade, if setup is fresh installation is no problem. if the installation is upgrade install the component in different location and also installation location (fresh). I am trying to create a setup without duplicate the componets.
All the suggesstion and feedback are welcome.
Thanks in advance for your spare time with me.
Note: I used Installshield Dev Studio 9.01
Regards
Murugesan.R
↧
Implementing 'Trusted Storage Based Licensing' in C++:
Hi,
I am are trying to implement 'Trusted Storage Based Licensing' in C++ programming language.
I have already viewed one example of this kind (Trusted Storage Based Licensing) which was implemented in C# language. It seems, In order to implement this feature in C++, requires 'FlexNet Publisher Toolkit'. Can anyone please provide the link from where i can download this toolkit.
Please let me know if i missed something.
Thanks and Regards,
Chinni Rakesh.
I am are trying to implement 'Trusted Storage Based Licensing' in C++ programming language.
I have already viewed one example of this kind (Trusted Storage Based Licensing) which was implemented in C# language. It seems, In order to implement this feature in C++, requires 'FlexNet Publisher Toolkit'. Can anyone please provide the link from where i can download this toolkit.
Please let me know if i missed something.
Thanks and Regards,
Chinni Rakesh.
↧
↧
rollback doesn't work
We have InstallAnywhere 2012 Enterprise edition.I cannot find a way to make its rollback work for me. The default Cancel button doesn't make it rollback to previous stage. The custome action Trigger Rollback Action doesn't work either.
The Rollback Settings is enabled. I am using it in Linux Fedora.
Anybody can help me?
PS I don't know why I cannot upload screenshot with the Manage Attachements below.
The Rollback Settings is enabled. I am using it in Linux Fedora.
Anybody can help me?
PS I don't know why I cannot upload screenshot with the Manage Attachements below.
↧
SdLicense2Ex - hyperlinks in rtf file don't open up a browser
I'm using Installshield 2012 Spring.
When the license agreement pops up (using SdLicense2Ex), it shows a few URLS in the rtf file and when I hover over them with a mouse, the mouse pointer changes to point out that the text is a hyperlink. When you click on it nothing happens - its should open up a browser.
If this wasn't meant to work, is there a way to make the mouse not change as thought it was a hyperlink?
When the license agreement pops up (using SdLicense2Ex), it shows a few URLS in the rtf file and when I hover over them with a mouse, the mouse pointer changes to point out that the text is a hyperlink. When you click on it nothing happens - its should open up a browser.
If this wasn't meant to work, is there a way to make the mouse not change as thought it was a hyperlink?
↧
Mens Health Without Prescription. Worldwide delivery for men's health.
Brighten a night and show your girlfriend many real man is capable of!
Avoid being so more than to lunch to hold back when impotence finds you!
Link: <a href=http://goviagraonline.com/>website</a>
Avoid being so more than to lunch to hold back when impotence finds you!
Link: <a href=http://goviagraonline.com/>website</a>
↧
Need assistance
HI All,
I am new to application packaging. I am learning application packaging now. Could anyone help by giving right direction?
I am new to application packaging. I am learning application packaging now. Could anyone help by giving right direction?
↧
↧
Setup.exe: Product Version, File Version
Hello,
I see in setup.exe windows explorer/details two properties:
Product Version, File Version
Both of them are set to the same version, let say 1.1.1.1
Is it possible to set them to different values: 1.1.1.1 and 2.0.0.1 ?
If not, could you give us this possibility next update, please?
Regards
Roman
I see in setup.exe windows explorer/details two properties:
Product Version, File Version
Both of them are set to the same version, let say 1.1.1.1
Is it possible to set them to different values: 1.1.1.1 and 2.0.0.1 ?
If not, could you give us this possibility next update, please?
Regards
Roman
↧
???? ????????!!!!!!! ??? ?????????? ???? ??????
?? ??? ?? ???? ??? ?????????? ?????? ? ??????? ?????????? ????????, ? ? ?? ???? ?? ???? ?? ??? ??? ?? ???? ???????????
??????????!!!!
??????????!!!!
↧
Advanced UI/Suite Run Custom Action in Silent Mode
Hello,
I would like to run my custom action in silent mode(setup.exe /silent). Is there any way to do that in Suite project?
My action looks like:
Many thanks,
Marek
I would like to run my custom action in silent mode(setup.exe /silent). Is there any way to do that in Suite project?
My action looks like:
Code:
__declspec(dllexport) HRESULT __stdcall MyCustomAction(IDispatch *pDispSuiteUIExtension)
{
CComQIPtr<ISuiteUIExtension> spSuiteUIExtenstion = pDispSuiteUIExtension;
//Need this code to be executed in silent mode at the start of the installation process.
}
Many thanks,
Marek
↧
Problem in driver installation using Device Driver Wizard using InstallShield 2010.
Hi ,
We are facing issue while installing drivers using MSI project. What is observed is that the driver (*.sys) are not being installed in (C:/windows/system32/drivers). Could you please help us in solving the issue. Thanks in advance.
We used Device Driver Wizard(in Basic MSI Project) to install the driver and once the configuration of driver is finished followed is observed:
1. Installation Designer -> Organization -> Components folder: two components (Driver and Driver_INF) was added by the wizard.
2. Installation Designer -> Organization -> Components folder -> Driver -> File: no file was added by the wizard.
3. Installation Designer -> Organization -> Components folder -> Driver_INF -> File ->: *.cat and *.inf file was added by the wizard.
4. Installation Designer -> Behaviour and Logic -> Custom action and sequence -> Custom Actions : MsiInstallDrivers/ MsiuninstallDrivers etc are added by the wizard.
After running the MSI; drivers were not installed.
We tried adding files(*.sys) to Driver/Driver_INF; however no success.
Thanks and Regards,
We are facing issue while installing drivers using MSI project. What is observed is that the driver (*.sys) are not being installed in (C:/windows/system32/drivers). Could you please help us in solving the issue. Thanks in advance.
We used Device Driver Wizard(in Basic MSI Project) to install the driver and once the configuration of driver is finished followed is observed:
1. Installation Designer -> Organization -> Components folder: two components (Driver and Driver_INF) was added by the wizard.
2. Installation Designer -> Organization -> Components folder -> Driver -> File: no file was added by the wizard.
3. Installation Designer -> Organization -> Components folder -> Driver_INF -> File ->: *.cat and *.inf file was added by the wizard.
4. Installation Designer -> Behaviour and Logic -> Custom action and sequence -> Custom Actions : MsiInstallDrivers/ MsiuninstallDrivers etc are added by the wizard.
After running the MSI; drivers were not installed.
We tried adding files(*.sys) to Driver/Driver_INF; however no success.
Thanks and Regards,
↧
↧
How to create an MSM project for Windows driver installer using InstallShield 2010
Hi,
We are looking for driver installer wizard for MSM project similar to ‘Device driver Wizard’ of MSI for windows driver installation. Could you please provide Information regarding the same. If there is no in-build wizard; could you please share the steps to create an MSM project for driver installation.
Thanks and Regards,
We are looking for driver installer wizard for MSM project similar to ‘Device driver Wizard’ of MSI for windows driver installation. Could you please provide Information regarding the same. If there is no in-build wizard; could you please share the steps to create an MSM project for driver installation.
Thanks and Regards,
↧
Does InstallShield 2013 Premier integrate with Visual Studio 2013?
Currently we use Visual Studio 2012, which allows me to include an InstallShield 2012 Spring or InstallShield 2013 project as part of the VS2012 *.sln file. We are thinking strongly of migrating to Visual Studio 2013. I have installed VS2013 and IS2012 Spring w/SP1 as well as IS2013 Premier onto a test computer. But I cannot get VS2013 to "see" the *.ism project files when I try to include them as part of the VS2013 *.sln solution.
So I am wondering if we need to wait for the next version of InstallShield (to be named InstallShield 2014, I assume ;)) before we can move on to Visual Studio 2013.
Anyone know for sure?
So I am wondering if we need to wait for the next version of InstallShield (to be named InstallShield 2014, I assume ;)) before we can move on to Visual Studio 2013.
Anyone know for sure?
↧
Windows 7 Install Issue
This is a convoluted scenario:
We have a project that installs a VB6 application, and about 30 OCX components (some are system components, some are custom).
On XP, it runs fine and the application starts up with no problems.
On Windows 7, it runs fine if the user has administrator rights. If the user does not, the application crashes following installation. We brought in a contact from Microsoft, who determined there were some missing registry entries. We later found out that some of the 30 OCX components weren't registered properly either (but we haven't yet determined if it is 1 or 2 or some combination of all 30).
I updated the installer so that it copies the registry import file to the INSTALLDIR, and then use a custom action to execute "reg import <file>". Based on what I see in the log file when installing, and in looking in the registry, it appears to work.
I also updated the installer so that it copies a CMD file to INSTALLDIR, and then use an InstallScript to run LaunchAppAndWait to run the batch file. It's 30 regsvr32 calls (e.g. c:\windows\syswow64\regsvr32.exe c:\windows\syswow64\<filename>.ocx). By leaving the "/s" parameter off, I can confirm it runs because I have to click OK to the success message box each time.
But when I run the app as the user without admin privileges, the app fails - giving me an error that makes me think the OCX registration isn't actually happening.
The only way to get the application to work is to do the following:
1. Copy the MSI to the user desktop and install it - right click and select install, enter admin id and password when prompted
2. Copy the reg file fix to the user desktop - run regedit as an admin and import it
3. Copy the OCX CMD file to the user desktop and run it - right click and select run as admin, enter id/password
So, any ideas on what I might be doing wrong in the installer that isn't letting the OCX registration work as expected?
Thanks,
Glenn Harland
NYS Office of Mental Health
We have a project that installs a VB6 application, and about 30 OCX components (some are system components, some are custom).
On XP, it runs fine and the application starts up with no problems.
On Windows 7, it runs fine if the user has administrator rights. If the user does not, the application crashes following installation. We brought in a contact from Microsoft, who determined there were some missing registry entries. We later found out that some of the 30 OCX components weren't registered properly either (but we haven't yet determined if it is 1 or 2 or some combination of all 30).
I updated the installer so that it copies the registry import file to the INSTALLDIR, and then use a custom action to execute "reg import <file>". Based on what I see in the log file when installing, and in looking in the registry, it appears to work.
I also updated the installer so that it copies a CMD file to INSTALLDIR, and then use an InstallScript to run LaunchAppAndWait to run the batch file. It's 30 regsvr32 calls (e.g. c:\windows\syswow64\regsvr32.exe c:\windows\syswow64\<filename>.ocx). By leaving the "/s" parameter off, I can confirm it runs because I have to click OK to the success message box each time.
But when I run the app as the user without admin privileges, the app fails - giving me an error that makes me think the OCX registration isn't actually happening.
The only way to get the application to work is to do the following:
1. Copy the MSI to the user desktop and install it - right click and select install, enter admin id and password when prompted
2. Copy the reg file fix to the user desktop - run regedit as an admin and import it
3. Copy the OCX CMD file to the user desktop and run it - right click and select run as admin, enter id/password
So, any ideas on what I might be doing wrong in the installer that isn't letting the OCX registration work as expected?
Thanks,
Glenn Harland
NYS Office of Mental Health
↧
[InstallScript] Issue with manual upgrade
I'll try and get right to the point here...
I was tasked with creating an installer that would uninstall the previous installation and install the current one. I did this and everything seemed ok at least for 4 different releases. Someone decided to change the entire directory structure we shared and had to sort of redo the installer.
Over half the Features and Components were removed and consolidated into 2 different parent Features. Since doing this my entire installation is now broken. I've gotten to a point where the new files appear BUT when I go to uninstall the application I get an error and the in the list of installed applications is refreshed and my application is gone. So I know I may have messed things up and I don't know how to fix this. I've tried to comment on everything and I could use all the help I can get. Also does reusing Features and Components cause issues like I've described?
When the application has been installed we go right into the ELSE and call VersionComparison() which determines the flow. When the installed application is older than the installer then we call into PerformActualUninstall()...
... Here I try and uninstall the previous installation. This section was copied directly from the OnMoveData()'s stock code. After this is performed we end up at the very end of OnMaintUIBefore which will then fall into OnMoveData()...
...And here I determine the how I will install the current version. Here is where the breakdown is, I believe. I have changed the Upgrade section and now my files appear but the installation is severly wrecked.
I was tasked with creating an installer that would uninstall the previous installation and install the current one. I did this and everything seemed ok at least for 4 different releases. Someone decided to change the entire directory structure we shared and had to sort of redo the installer.
Over half the Features and Components were removed and consolidated into 2 different parent Features. Since doing this my entire installation is now broken. I've gotten to a point where the new files appear BUT when I go to uninstall the application I get an error and the in the list of installed applications is refreshed and my application is gone. So I know I may have messed things up and I don't know how to fix this. I've tried to comment on everything and I could use all the help I can get. Also does reusing Features and Components cause issues like I've described?
When the application has been installed we go right into the ELSE and call VersionComparison() which determines the flow. When the installed application is older than the installer then we call into PerformActualUninstall()...
Code:
function OnMaintUIBefore()
begin
//--- Coming from the Add/Remove dialog?
if (ADDREMOVE) then
PerformAddRemoveDialogLogic();
//--- Are we uninstalling?
elseif (DetermineIfUninstall()) then
//--- Find out if we CAN unistall and fall thru to OnMoveData()
if (!DetermineIfCanUninstall()) then
//--- Warning user that they cannot uninstall
if (!DetermineIfRunningSilent()) then
MessageBox(@IDS_UNINSTALLATION_WARNING, SEVERE);
endif;
//--- And either way exit out without doing anything
abort;
endif;
else
//--- For all other instances
VersionComparison();
endif;
end;
... Here I try and uninstall the previous installation. This section was copied directly from the OnMoveData()'s stock code. After this is performed we end up at the very end of OnMaintUIBefore which will then fall into OnMoveData()...
Code:
function BOOL PerformActualUninstall()
NUMBER nErrorReturnCode;
STRING sFormattedMsg;
begin
//--- Hide any dialog currently showing
Disable( DIALOGCACHE );
//--- If we are not doing a COMPLETE uninstall...
if(DetermineIfUpgrade() || DetermineIfRevert()) then
//--- Remove all installed features that were installed before
nErrorReturnCode = FeatureRemoveAllInLogOnly();
else
//--- Remove all installed features and 'media'
nErrorReturnCode = FeatureRemoveAllInMediaAndLog();
endif;
//--- Make sure that everything was fine
if (nErrorReturnCode < ISERR_SUCCESS) then
MessageBoxEx(FormatMessage(nErrorReturnCode), @IDS_QUICKLABEL_SYSTEMS, SEVERE);
return FALSE;
endif;
//--- If we are running silent then do not show the uninstallation dialog
if (!DetermineIfRunningSilent()) then
//--- Set appropriate StatusEx static text.
Sprintf(sFormattedMsg, @IDS_STATICTEXT_MAINTUI_REMOVEALL, @IDS_READABLE_VERSION_STRING);
SetStatusExStaticText(sFormattedMsg);
SetStatusWindow( 0, "" );
Enable( STATUSEX );
StatusUpdate( ON, 100 );
Disable( CANCELBUTTON );
else
Disable( STATUSEX );
endif;
// ...uninstalls features appropriately based on their selection state and whether
// they are currently installed.
nErrorReturnCode = FeatureTransferData(MEDIA);
//--- Check for error and report it
if (nErrorReturnCode < ISERR_SUCCESS) then
ComponentErrorInfo();
return FALSE;
endif;
//--- Delete the key we made during installation
RemoveMediaKey();
//--- Delete the custom config file if user wants
KeepOriginalSettings();
//--- Hide the progress dialog if we aren't running silent
if (!DetermineIfRunningSilent()) then
Disable( STATUSEX );
endif;
//--- Everything went fine
return TRUE;
end;
...And here I determine the how I will install the current version. Here is where the breakdown is, I believe. I have changed the Upgrade section and now my files appear but the installation is severly wrecked.
Code:
function OnMoveData()
NUMBER nResult;
NUMBER nMediaFlags;
STRING sFormattedMsg;
begin
//--- If we are reinstalling...
if (DetermineIfReinstall()) then
//--- Set the installation directory to the %ALLUSERSPROFILE%
TARGETDIR = GetCurrentTargetDirectory();
FeatureReinstall();
//--- Set appropriate StatusEx static text.
Sprintf(sFormattedMsg, @IDS_STATICTEXT_MAINTUI_REINSTALL, @IDS_READABLE_VERSION_STRING);
SetStatusExStaticText(sFormattedMsg);
//--- If we are updating...
elseif (DetermineIfUpgrade()) then
//--- Set the installation directory to the %ALLUSERSPROFILE%
TARGETDIR = GetCurrentTargetDirectory();
FeatureSelectNew( MEDIA, TRUE );
FeatureRemoveAllInLogOnly();
//--- Set appropriate StatusEx static text.
Sprintf(sFormattedMsg, @IDS_STATICTEXT_MAINTUI_UPGRADE, @IDS_READABLE_VERSION_STRING);
SetStatusExStaticText(sFormattedMsg);
//--- If we are reverting...
elseif (DetermineIfRevert()) then
//--- Set the installation directory to the %ALLUSERSPROFILE%
TARGETDIR = GetCurrentTargetDirectory();
FeatureReinstall();
//--- Set appropriate StatusEx static text.
Sprintf(sFormattedMsg, @IDS_STATICTEXT_MAINTUI_REVERT, @IDS_READABLE_VERSION_STRING);
SetStatusExStaticText(sFormattedMsg);
//--- If we are uninstalling...
elseif (DetermineIfUninstall()) then
//--- Make sure to abort if something bad happened else return out
if (!PerformActualUninstall()) then
abort;
else
return 0;
endif;
else
//--- Set appropriate StatusEx static text.
Sprintf(sFormattedMsg, @IDS_STATICTEXT_FIRSTUI, @IDS_READABLE_VERSION_STRING);
SetStatusExStaticText(sFormattedMsg);
endif;
// Don't install the DISK1COMPONENT if MAINT_OPTION_NONE was specified.
if( MAINT_OPTION = MAINT_OPTION_NONE ) then
FeatureSelectItem( MEDIA, DISK1COMPONENT, FALSE );
endif;
// Show Status?
if (!DetermineIfRunningSilent()) then
SetStatusWindow( 1, "" );
Enable( STATUSEX );
StatusUpdate( ON, 100 );
Disable( CANCELBUTTON );
else
// Disable Status
Disable( STATUSEX );
endif;
// Create the uninstall infomation (after displaying the progress dialog)
// Don't create uninstall information if MAINT_OPTION_NONE was specified.
//if (MAINT_OPTION != MAINT_OPTION_NONE) then
CreateInstallationInfo();
//endif;
// Move Data
nResult = FeatureTransferData( MEDIA );
// Moved in 11.0, Check for failure before creating uninstall key.
// Handle move data error and abort if error occured.
if (nResult < ISERR_SUCCESS) then
OnComponentError();
abort;
endif;
// Create uninstall key (force if upgrading or reverting because this will be skipped otherwise)
if (IFX_DISK1INSTALLED || DetermineIfUpgrade() || DetermineIfRevert()) then
// Store text-subs for maintenance mode later, only do this when
// disk 1 is installed. Note that any text-subs that are updated after
// this call will not be remembered during maintenance mode.
FeatureSaveTarget("");
// Write uninstall information.
MaintenanceStart();
// Customize Uninstall Information
OnCustomizeUninstInfo();
endif;
//--- Create reg keys
CreateMediaKey();
//--- Update Dat files
MergeOldSettings();
//--- Disable dialog if it was enabled above
if (!DetermineIfRunningSilent()) then
Disable( STATUSEX );
endif;
end;
↧
↧
hello2all, i am steve
hello2all, i am steve
↧
????? ?????????? ? ?????????? ?????? ??????????? ?????? ????????? ?? ????????.
? ??? ?? ????? ????????? ???????? ?????????? ????????? ?????, ??????? 1 ??? ? ????????? ??????????. ??????? ?????? ? ???? ?????????, ??? ??????? ??????????? ??????? ??????? ??????? ? ???????? ?????. ????????? ????? ???? ?????????? ???????? ?? ?????????????? ?????. ??? ???????? ?????? ????????? ?? ??????? ????????????????? ??????. ? ???????? ?????????? ??????? ? ??????? ???????? ??????????, ??? ??????? ????? ?? ????? ???????? ?????? ? ????? ??? ???????? ??????. ?????????? ???????? ???????? ????????? ?? ?????? ????????. ??????? ??????? ???????? ????????? ??????????? ????????? ? ?????????? ????????? ????? ??????????? ??????????? ????????. ?????? ?????????????? ????? 1,5 ???. ??? ???? ???? ??? ????????? ???????? ????? ????? ?? ????? ??????, ?? ???????? ? ? ?????????? ??????. ????? ???????? ????? ?????? ?????????? ????? ????? ??????? . ????? «?????????» ????? ???? ????????????? ??? ????? ?? ?????.
↧
? ?? ?????? ????? ? ??????? ????????????
? ??? ?? ?? ?????? ??????????? ??? ???????????? ??????? ?????????? ??? ????????? ?????? ??????
? ? ??? ?? ?????? ??? ?????? ? ?????? ???????, ????? ?????????? ???????...??? ?? 20 ????????? ?????? ????? ???????? ?? ??????....
? ? ??? ?? ?????? ??? ?????? ? ?????? ???????, ????? ?????????? ???????...??? ?? 20 ????????? ?????? ????? ???????? ?? ??????....
↧