View forum topic
List of forum topicsSubject: Passing command line parameter in admin mode
Hi,
I want to pass command line parameter in admin mode to install dll.
My parameter look like
regsvr32 /i:84848-84848H-57589H-858194J mydll.dll /s
How I do this? I have full version. And I want to do this 32/64 bit.
Regards,
Prasid Ranjan Dutta
Tuesday, July 30, 2013
Is mydll.dll a 32-bit?
Insert Run Application command
Path: SYSTEM PATH
Filename: regsvr32.exe
Command line parameters: /i:84848-84848H-57589H-858194J mydll.dll /s
It is require to specify Working directory where mydll.dll is placed.
Or you can specify the full path to mydll.dll in the command line parameters. For example,
/i:84848-84848H-57589H-858194J #quote##setuppath#\mydll.dll#quote# /s
yes, my.dll is 32 bit.
Really I can not understand what you explain here.
I put all info
Path: SYSTEM PATH
Filename: regsvr32.exe
Command line parameters: /i:84848-84848H-57589H-858194J mydll.dll /s
and saved. Nothing is saved.
I solve this issue but I face elevation problem. DLL not register in Vista. Require admin privilege. Also I don’t after finish installation again installation dialog appear.
Look at Install script tab - Install root item.
The checkbox 'Administrator rights are not required' must be unchecked.
If you have some dialog after Finish dialog then see what commands there are below Dialog - Finish.
my problem is solved. but problem in shortcut in desktop.
http://i.imgur.com/DARWrQZ.png
Why did you specified Filename as #exepath#?
Specify the name of your application.
For example,
MyApplication.exe
My shortcut issue purely solved. Now I have another issue when "Installation finish" need check-box
See: http://i.imgur.com/H0b8gO4.png
Where is problem? I can not understand how to use it.
Insert the 'Run Application' command below 'Dialog - Finish'.
Path: INSTALL PATH
Filename: MyApplication.exe
If Statement: appdata
Your application will be run if the user check the checkbox.
No checkbox appeared after install.
Path: INSTALL PATH
Filename: MyApplication.exe
If Statement: #ischecked#
Program run after install but no check box appear.
Go to Dialog - Finish command in your script.
Insert an item into Additional checkboxes list
Variable: ischecked
Value: Launch application
I solved this issue. Very good.
I want to add explorer context menu of my application. I want to add any file with my program (my software is hiding software). How can I do this via CreateInstall?
Explorer Context Menu
There is not such command in the current version CreateInstall. For example, you can add an item into Context Menu by the using Registry - Set Value command.
For example, read this
http://www.howtogeek.com/howto/windows-vista/add-open-with-notepad-to-the-context-menu-for-all-files/
and this
http://www.howtogeek.com/107965/how-to-add-any-application-shortcut-to-windows-explorers-context-menu/
I know this but need to passing special command line param with this.
Insert 'Registry - Set Value' commands into your script and specify these parameters there.
For example,
Root key: HKEY_CLASSES_ROOT
Subkey: *\shell\Open with Notepad\command
Value Name:
Value Type: String
Value: notepad.exe %1
January 16, 2025 Installer CreateInstall 8.11.1 was released.
June 19, 2024 Installer CreateInstall 8.11.0 was released. read more
November 13, 2022 Installer CreateInstall 8.10.1 was released.
May 21, 2022 Installer CreateInstall 8.10.0 was released.
September 25, 2021 Installer CreateInstall 8.9.0 was released.
July 15, 2021 Installer CreateInstall 8.8.1 was released.