Application issue?
I've an application which I was unable to do. Here below is the situation,
They gave me a reg file, a bat file and 3 shortcuts.
first we need to merge the regfile and then we need to run the .bat file and then we need to copy the 3 shortcuts to desktop.
registry file consists of hku keys and i have taken first capture and merged that registry key and taken 2nd capture. But, the keys are not captured.
So i created a batch file and used reg import command. the registry keys are merged but when i delete the keys using the reg delete command it shows an error stating that the specified path was not found.
when i uninstall the msi among the 3 shortcuts 2 are removed and one remains like that. when i logoff and logon then the other shorctut is removed.
Please help me how to get it done. I'm using adminstudio 11.5
Answers (2)
Are you trying to repackage this ?
why not open Installshield and just add this information directly..?
Comments:
-
you mean to create dummy msi and import .. - vinodreddy10 11 years ago
-
create MSI ( ISM) from scratch and import registry info, batch activities and shortcuts. - jaybee96 11 years ago
-
Jaybee, how to import the batch activities? - vinodreddy10 11 years ago
-
first of all , what does the batch do? - jaybee96 11 years ago
-
Here is my batch file,
@echo off
IF EXIST R:\NUL NET USE R: /DELETE
NET USE R: \\hacsstc089\dfs /PERSISTENT:YES
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoClose" /t "REG_DWORD" /d "1" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system" /v "ForceStartMenuLogOff" /t "REG_DWORD" /d "1" /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableLockWorkStation" /t "REG_DWORD" /d "1" /f
xcopy /q /i /e /y R:\Apps\WorkstationShortcuts "C:\Users\Public\Desktop" /f - vinodreddy10 11 years ago
-
net use is only needed for the copy of the shortcuts ... so you can ignore this
Registry keys can be manually added to the MSI
Shortcuts can be manually added to the MSI
done - jaybee96 11 years ago